change hosts entry for roles

This commit is contained in:
Louis Abel 2023-04-17 22:08:42 -07:00
parent bb5ae57a5d
commit 3926329c77
Signed by: label
GPG Key ID: 6735C0E1BD65D048
4 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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