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