Skip to content

Commit 7f3b19a

Browse files
authored
Rename modules to use Ansible FQCNs (#174)
1 parent ccd5566 commit 7f3b19a

File tree

8 files changed

+18
-9
lines changed

8 files changed

+18
-9
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
collections:
33
- name: community.general
4-
version: 4.4.0
4+
version: 4.6.1
55
- name: ansible.posix
66
version: 1.3.0
77
- name: community.docker
8-
version: 2.1.1
8+
version: 2.2.1

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,16 @@ BREAKING CHANGES:
99
* Cleanup deprecated Alpine Linux tasks.
1010
* Remove `nginx_app_protect_configure` parameter since it has limited functionality given the `nginx_app_protect_*_policy_file_enable` parameters.
1111

12+
FEATURES:
13+
14+
Rename all modules to use the fully qualified collection name (FQCN) per Ansible guidelines.
15+
1216
ENHANCEMENTS:
1317

1418
* Add support of RHEL 8.1+ for NGINX App Protect WAF 3.8.
1519
* Add support of RHEL 7.4+ and 8.x for NGINX App Protect DoS 2.1.
1620
* New molecule tests for RHEL 7/8 and for NGINX App Protect WAF/DoS removal scenarios.
21+
* Bump the Ansible `community.general` collection to `4.6.1` and `community.docker` collection to `2.2.1`.
1722

1823
BUG FIXES:
1924

meta/main.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,7 @@ galaxy_info:
3535
- server
3636
- development
3737
- dos
38+
39+
collections:
40+
- ansible.posix
41+
- community.general

molecule/common/cleanup.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
- distribution
2525

2626
- name: (RHEL) Unregister system from RHEL subscription manager
27-
redhat_subscription:
27+
community.general.redhat_subscription:
2828
state: absent
2929
when: ansible_distribution == "RedHat"
3030
rescue:

molecule/default/converge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
- lookup('env', 'RHEL_PASSWORD') | length > 0
1313

1414
- name: (RHEL) Register system into RHEL subscription manager
15-
redhat_subscription:
15+
community.general.redhat_subscription:
1616
username: "{{ lookup('env', 'RHEL_USERNAME') }}"
1717
password: "{{ lookup('env', 'RHEL_PASSWORD') }}"
1818
when:

molecule/dos/converge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
- lookup('env', 'RHEL_PASSWORD') | length > 0
1313

1414
- name: (RHEL) Register system into RHEL subscription manager
15-
redhat_subscription:
15+
community.general.redhat_subscription:
1616
username: "{{ lookup('env', 'RHEL_USERNAME') }}"
1717
password: "{{ lookup('env', 'RHEL_PASSWORD') }}"
1818
when:

molecule/uninstall/prepare.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
- lookup('env', 'RHEL_PASSWORD') | length > 0
3131

3232
- name: (RHEL) Register system into RHEL subscription manager
33-
redhat_subscription:
33+
community.general.redhat_subscription:
3434
username: "{{ lookup('env', 'RHEL_USERNAME') }}"
3535
password: "{{ lookup('env', 'RHEL_PASSWORD') }}"
3636
when:
@@ -51,7 +51,7 @@
5151
nginx_app_protect_dos_enable: true
5252
post_tasks:
5353
- name: (RHEL) Unregister system from RHEL subscription manager
54-
redhat_subscription:
54+
community.general.redhat_subscription:
5555
state: absent
5656
when:
5757
- ansible_distribution == "RedHat"

tasks/common/prerequisites/install-dependencies.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
- nginx_app_protect_dos_enable | bool
5757

5858
- name: (RHEL 7) Set up RHEL dependencies from RHEL official repositories
59-
rhsm_repository:
59+
community.general.rhsm_repository:
6060
name:
6161
- rhel-7-server-optional-rpms
6262
- rhel-7-server-extras-rpms
@@ -66,7 +66,7 @@
6666
- nginx_app_protect_use_rhel_subscription_repos | bool
6767

6868
- name: (RHEL 8) Set up RHEL dependencies from RHEL official repositories
69-
rhsm_repository:
69+
community.general.rhsm_repository:
7070
name: codeready-builder-for-rhel-8-x86_64-rpms
7171
when:
7272
- ansible_distribution_major_version == "8"

0 commit comments

Comments
 (0)