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 # -> ipa_binder_password: Bind account password
- name: Create binder account - name: Create binder account
hosts: all hosts: "{{ ipaserver|default('all') }}"
become: true become: true
tasks: tasks:

View File

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

View File

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

View File

@ -14,7 +14,7 @@
# -> ipaadmin_password: This should be the password of the admin user # -> ipaadmin_password: This should be the password of the admin user
- name: Pull keytab from IPA - name: Pull keytab from IPA
hosts: all hosts: "{{ host|default('all') }}"
become: true become: true
gather_facts: false 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 # If group is going to be a fas group (exposed in noggin), ensure ipa_fas is
# set to true. # set to true.
- name: Create our initial users - name: Create a group
hosts: all hosts: "{{ ipaserver|default('all') }}"
become: false become: false
gather_facts: false gather_facts: false
vars_files: vars_files:

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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