From 98933f6e5d166f189ee4ec8e6a8074f66e241bca Mon Sep 17 00:00:00 2001 From: Louis Abel Date: Tue, 23 Jan 2024 13:53:02 -0700 Subject: [PATCH] add collections directive to appropriate playbooks --- adhoc-ipadnsrecord.yml | 2 ++ adhoc-ipadnszone.yml | 2 ++ adhoc-ipagetkeytab.yml | 2 ++ adhoc-ipagroup.yml | 2 ++ adhoc-ipaservice.yml | 2 ++ adhoc-ipauser-disable-pdr.yml | 2 ++ adhoc-ipauser-disable.yml | 2 ++ adhoc-ipauser-enable.yml | 2 ++ adhoc-ipauser.yml | 2 ++ init-rocky-ipa-internal-dns.yml | 6 ++++-- role-rocky-ipa-client.yml | 2 ++ role-rocky-ipa-replica.yml | 2 ++ role-rocky-ipa.yml | 2 ++ 13 files changed, 28 insertions(+), 2 deletions(-) diff --git a/adhoc-ipadnsrecord.yml b/adhoc-ipadnsrecord.yml index 2a26c51..8e6ca7f 100644 --- a/adhoc-ipadnsrecord.yml +++ b/adhoc-ipadnsrecord.yml @@ -15,6 +15,8 @@ hosts: "{{ host|default('ipaserver') }}" become: false gather_facts: false + collections: + - freeipa.ansible_freeipa tasks: - name: "Checking for user variables" diff --git a/adhoc-ipadnszone.yml b/adhoc-ipadnszone.yml index 69fff74..ae8e8dc 100644 --- a/adhoc-ipadnszone.yml +++ b/adhoc-ipadnszone.yml @@ -7,6 +7,8 @@ hosts: "{{ host|default('ipaserver') }}" become: false gather_facts: false + collections: + - freeipa.ansible_freeipa tasks: - name: "Checking for user variables" diff --git a/adhoc-ipagetkeytab.yml b/adhoc-ipagetkeytab.yml index b219a5d..393b908 100644 --- a/adhoc-ipagetkeytab.yml +++ b/adhoc-ipagetkeytab.yml @@ -17,6 +17,8 @@ hosts: "{{ host|default('all') }}" become: true gather_facts: false + collections: + - freeipa.ansible_freeipa tasks: - name: "Checking for user variables" diff --git a/adhoc-ipagroup.yml b/adhoc-ipagroup.yml index 46d284d..d1a04d4 100644 --- a/adhoc-ipagroup.yml +++ b/adhoc-ipagroup.yml @@ -11,6 +11,8 @@ gather_facts: false vars_files: - vars/vaults/userman.yml + collections: + - freeipa.ansible_freeipa tasks: - name: "Checking for user variables" diff --git a/adhoc-ipaservice.yml b/adhoc-ipaservice.yml index 18f4dbd..243916f 100644 --- a/adhoc-ipaservice.yml +++ b/adhoc-ipaservice.yml @@ -6,6 +6,8 @@ hosts: "{{ host|default('ipaserver') }}" become: false gather_facts: false + collections: + - freeipa.ansible_freeipa tasks: - name: "Checking for user variables" diff --git a/adhoc-ipauser-disable-pdr.yml b/adhoc-ipauser-disable-pdr.yml index f927850..8721c6b 100644 --- a/adhoc-ipauser-disable-pdr.yml +++ b/adhoc-ipauser-disable-pdr.yml @@ -10,6 +10,8 @@ hosts: "{{ host|default('ipaserver') }}" become: false gather_facts: false + collections: + - freeipa.ansible_freeipa tasks: - name: "Checking for user variables" diff --git a/adhoc-ipauser-disable.yml b/adhoc-ipauser-disable.yml index 05d207b..9a6f3aa 100644 --- a/adhoc-ipauser-disable.yml +++ b/adhoc-ipauser-disable.yml @@ -6,6 +6,8 @@ hosts: "{{ host|default('ipaserver') }}" become: false gather_facts: false + collections: + - freeipa.ansible_freeipa tasks: - name: "Checking for user variables" diff --git a/adhoc-ipauser-enable.yml b/adhoc-ipauser-enable.yml index 2c2205a..f38ba98 100644 --- a/adhoc-ipauser-enable.yml +++ b/adhoc-ipauser-enable.yml @@ -6,6 +6,8 @@ hosts: "{{ host|default('ipaserver') }}" become: false gather_facts: false + collections: + - freeipa.ansible_freeipa tasks: - name: "Checking for user variables" diff --git a/adhoc-ipauser.yml b/adhoc-ipauser.yml index 38e55a2..5e98011 100644 --- a/adhoc-ipauser.yml +++ b/adhoc-ipauser.yml @@ -6,6 +6,8 @@ hosts: "{{ host|default('ipaserver') }}" become: false gather_facts: false + collections: + - freeipa.ansible_freeipa tasks: - name: "Checking for user variables" diff --git a/init-rocky-ipa-internal-dns.yml b/init-rocky-ipa-internal-dns.yml index 60514f3..a56a505 100644 --- a/init-rocky-ipa-internal-dns.yml +++ b/init-rocky-ipa-internal-dns.yml @@ -5,8 +5,10 @@ become: false gather_facts: false vars_files: - - vars/ipa/rdns.yml - - vars/ipa/fdns.yml + - vars/ipa/rdns.yml + - vars/ipa/fdns.yml + collections: + - freeipa.ansible_freeipa tasks: - name: "Checking for user variables" diff --git a/role-rocky-ipa-client.yml b/role-rocky-ipa-client.yml index 296fe7b..9a7eb95 100644 --- a/role-rocky-ipa-client.yml +++ b/role-rocky-ipa-client.yml @@ -7,6 +7,8 @@ vars_files: - vars/ipa/common.yml - vars/ipa/ipaclient.yml + collections: + - freeipa.ansible_freeipa pre_tasks: - name: Check if ansible cannot be run here diff --git a/role-rocky-ipa-replica.yml b/role-rocky-ipa-replica.yml index 435293e..6b9bd70 100644 --- a/role-rocky-ipa-replica.yml +++ b/role-rocky-ipa-replica.yml @@ -7,6 +7,8 @@ vars_files: - vars/ipa/common.yml - vars/ipa/ipareplica.yml + collections: + - freeipa.ansible_freeipa # This is to try to avoid the handler issue in pre/post tasks handlers: diff --git a/role-rocky-ipa.yml b/role-rocky-ipa.yml index 8b97fc4..464313b 100644 --- a/role-rocky-ipa.yml +++ b/role-rocky-ipa.yml @@ -12,6 +12,8 @@ vars_files: - vars/ipa/common.yml - vars/ipa/ipaserver.yml + collections: + - freeipa.ansible_freeipa # This is to try to avoid the handler issue in pre/post tasks handlers: