From f7ac1c588d8fe772eab22df6ccbacf3014e8a89e Mon Sep 17 00:00:00 2001
From: Felix Fontein <felix@fontein.de>
Date: Thu, 16 Aug 2018 22:21:39 +0200
Subject: [PATCH] Move acme_* modules from web_infrastructure into crypto
 category (#44279)

* Moving acme_* modules from web_infrastructure into crypto category.

* Creating new subcategory 'acme' in 'crypto'.
---
 .github/BOTMETA.yml                                          | 5 +----
 lib/ansible/modules/crypto/acme/__init__.py                  | 0
 .../{web_infrastructure => crypto/acme}/_letsencrypt.py      | 0
 .../{web_infrastructure => crypto/acme}/acme_account.py      | 0
 .../{web_infrastructure => crypto/acme}/acme_certificate.py  | 0
 .../acme}/acme_certificate_revoke.py                         | 0
 6 files changed, 1 insertion(+), 4 deletions(-)
 create mode 100644 lib/ansible/modules/crypto/acme/__init__.py
 rename lib/ansible/modules/{web_infrastructure => crypto/acme}/_letsencrypt.py (100%)
 rename lib/ansible/modules/{web_infrastructure => crypto/acme}/acme_account.py (100%)
 rename lib/ansible/modules/{web_infrastructure => crypto/acme}/acme_certificate.py (100%)
 rename lib/ansible/modules/{web_infrastructure => crypto/acme}/acme_certificate_revoke.py (100%)

diff --git a/.github/BOTMETA.yml b/.github/BOTMETA.yml
index 8b70b104a27..3e0b0bb70f8 100644
--- a/.github/BOTMETA.yml
+++ b/.github/BOTMETA.yml
@@ -330,6 +330,7 @@ files:
   $modules/commands/script.py: $team_ansible
   $modules/commands/shell.py: $team_ansible
   $modules/crypto/: Spredzy
+  $modules/crypto/acme/: mgruener resmo felixfontein
   $modules/database/influxdb/: kamsz
   $modules/database/misc/elasticsearch_plugin.py: ThePixelDeveloper
   $modules/database/misc/kibana_plugin.py: barryib
@@ -691,10 +692,6 @@ files:
   $modules/utilities/logic/pause.py: tbielawa samdoran
   $modules/utilities/logic/set_stats.py: bcoca
   $modules/utilities/logic/wait_for.py: AnderEnder gregswift jarv jhoekx
-  $modules/web_infrastructure/_letsencrypt.py: mgruener resmo felixfontein
-  $modules/web_infrastructure/acme_account.py: mgruener resmo felixfontein
-  $modules/web_infrastructure/acme_certificate.py: mgruener resmo felixfontein
-  $modules/web_infrastructure/acme_certificate_revoke.py: mgruener resmo felixfontein
   $modules/web_infrastructure/ansible_tower/: $team_tower
   $modules/web_infrastructure/apache2_mod_proxy.py: oboukili
   $modules/web_infrastructure/deploy_helper.py: ramondelafuente
diff --git a/lib/ansible/modules/crypto/acme/__init__.py b/lib/ansible/modules/crypto/acme/__init__.py
new file mode 100644
index 00000000000..e69de29bb2d
diff --git a/lib/ansible/modules/web_infrastructure/_letsencrypt.py b/lib/ansible/modules/crypto/acme/_letsencrypt.py
similarity index 100%
rename from lib/ansible/modules/web_infrastructure/_letsencrypt.py
rename to lib/ansible/modules/crypto/acme/_letsencrypt.py
diff --git a/lib/ansible/modules/web_infrastructure/acme_account.py b/lib/ansible/modules/crypto/acme/acme_account.py
similarity index 100%
rename from lib/ansible/modules/web_infrastructure/acme_account.py
rename to lib/ansible/modules/crypto/acme/acme_account.py
diff --git a/lib/ansible/modules/web_infrastructure/acme_certificate.py b/lib/ansible/modules/crypto/acme/acme_certificate.py
similarity index 100%
rename from lib/ansible/modules/web_infrastructure/acme_certificate.py
rename to lib/ansible/modules/crypto/acme/acme_certificate.py
diff --git a/lib/ansible/modules/web_infrastructure/acme_certificate_revoke.py b/lib/ansible/modules/crypto/acme/acme_certificate_revoke.py
similarity index 100%
rename from lib/ansible/modules/web_infrastructure/acme_certificate_revoke.py
rename to lib/ansible/modules/crypto/acme/acme_certificate_revoke.py