-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathdriftcheck.yml
32 lines (27 loc) · 946 Bytes
/
driftcheck.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
---
- name: Perform Drift check
hosts: all
strategy: free
tasks:
- name: Linux Setup
ansible.builtin.include_role:
name: shadowman_linux_setup
when: ansible_os_family is match("RedHat")
- name: RHEL register
ansible.builtin.include_role:
name: shadowman_rhel_register
when: ansible_os_family is match("RedHat")
- name: IDM register
ansible.builtin.include_role:
name: shadowman_add_to_idm
when:
- ansible_os_family is match("RedHat")
- shadowman_provision_hypervisor|default('RHV') != "Azure"
- shadowman_provision_hypervisor|default('RHV') != "AWS"
- name: Windows Config
ansible.builtin.include_role:
name: shadowman_add_to_ad
when:
- ansible_os_family is match("Windows")
- shadowman_provision_hypervisor|default('RHV') != "Azure"
- shadowman_provision_hypervisor|default('RHV') != "AWS"