change hosts options for most playbooks

This commit is contained in:
Louis Abel 2023-04-19 00:59:51 -07:00
parent 6b8424027e
commit 443b22343c
Signed by: label
GPG Key ID: 6735C0E1BD65D048
13 changed files with 14 additions and 14 deletions

View File

@ -6,7 +6,7 @@
# -> ipa_binder_password: Bind account password
- name: Create binder account
hosts: all
hosts: "{{ ipaserver|default('all') }}"
become: true
tasks:

View File

@ -4,7 +4,7 @@
# provided.
- name: Create a DNS Zone
hosts: all
hosts: "{{ ipaserver|default('all') }}"
become: false
gather_facts: false

View File

@ -13,7 +13,7 @@
# TODO: Add CNAME/SAN support
- name: Request and sign an IPA Certificate
hosts: all
hosts: "{{ host|default('all') }}"
become: true
vars:
ipa_getcert_requested_hostnames:

View File

@ -14,7 +14,7 @@
# -> ipaadmin_password: This should be the password of the admin user
- name: Pull keytab from IPA
hosts: all
hosts: "{{ host|default('all') }}"
become: true
gather_facts: false

View File

@ -5,8 +5,8 @@
# If group is going to be a fas group (exposed in noggin), ensure ipa_fas is
# set to true.
- name: Create our initial users
hosts: all
- name: Create a group
hosts: "{{ ipaserver|default('all') }}"
become: false
gather_facts: false
vars_files:

View File

@ -3,7 +3,7 @@
# What: Creates kerberos services in the idm infrastructure based on the variables provided
- name: Create Services
hosts: all
hosts: "{{ ipaserver|default('all') }}"
become: false
gather_facts: false

View File

@ -7,7 +7,7 @@
# for the RESF to query.
- name: Disable a User - PDR
hosts: all
hosts: "{{ ipaserver|default('all') }}"
become: false
gather_facts: false

View File

@ -3,7 +3,7 @@
# What: Creates users in the idm infrastructure based on the variables provided.
- name: Create a User
hosts: all
hosts: "{{ ipaserver|default('all') }}"
become: false
gather_facts: false

View File

@ -3,7 +3,7 @@
# What: Creates users in the idm infrastructure based on the variables provided.
- name: Create a User
hosts: all
hosts: "{{ ipaserver|default('all') }}"
become: false
gather_facts: false

View File

@ -3,7 +3,7 @@
# What: Creates users in the idm infrastructure based on the variables provided.
- name: Create a User
hosts: all
hosts: "{{ ipaserver|default('all') }}"
become: false
gather_facts: false

View File

@ -1,7 +1,7 @@
---
# This builds out the initial users and groups for the rocky linux infra
- name: Create our initial users
hosts: all
hosts: ipaserver
become: false
gather_facts: false
vars_files:

View File

@ -1,7 +1,7 @@
---
# This builds out the initial users and groups for the rocky linux infra
- name: Create our initial users
hosts: all
hosts: ipaserver
become: true
gather_facts: false
vars_files:

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: ipaclient
hosts: "{{ host | default(ipaclient) }}"
become: true
vars_files:
- vars/ipa/common.yml