change hosts entry for roles
This commit is contained in:
parent
bb5ae57a5d
commit
3926329c77
@ -37,13 +37,13 @@
|
||||
- groups
|
||||
|
||||
- name: "Prepare FAS if required"
|
||||
shell: "set -o pipefail && echo \"{{ ipaadmin_password }}\" | kinit {{ ipa_admin }}"
|
||||
ansible.builtin.shell: "set -o pipefail && echo \"{{ ipaadmin_password }}\" | kinit {{ ipa_admin }}"
|
||||
check_mode: false
|
||||
changed_when: "1 != 1"
|
||||
when: ipa_fas
|
||||
|
||||
- name: "Apply FAS"
|
||||
command: "ipa group-mod --fasgroup {{ ipa_group }}"
|
||||
ansible.builtin.command: "ipa group-mod --fasgroup {{ ipa_group }}"
|
||||
check_mode: false
|
||||
changed_when: "1 != 1"
|
||||
when: ipa_fas
|
||||
|
@ -2,7 +2,7 @@
|
||||
# Configures an IPA client for the Rocky infrastructure
|
||||
# Define "host" as a hostgroup name or a single host
|
||||
- name: Configure IPA client
|
||||
hosts: all
|
||||
hosts: ipaclient
|
||||
become: true
|
||||
vars_files:
|
||||
- vars/ipa/ipaclient.yml
|
||||
|
@ -2,7 +2,7 @@
|
||||
# Creates an IPA replica
|
||||
# Define "host" as a hostgroup name or a single host
|
||||
- name: Configure IPA server
|
||||
hosts: all
|
||||
hosts: ipareplica
|
||||
become: true
|
||||
|
||||
# This is to try to avoid the handler issue in pre/post tasks
|
||||
|
@ -7,7 +7,7 @@
|
||||
# System fully up to date
|
||||
# Define "host" as a hostgroup name or a single host
|
||||
- name: Configure IPA server
|
||||
hosts: all
|
||||
hosts: ipaserver
|
||||
become: true
|
||||
|
||||
# This is to try to avoid the handler issue in pre/post tasks
|
||||
|
Loading…
Reference in New Issue
Block a user