forked from redhat-cop/agnosticd
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpost_software.yml
44 lines (39 loc) · 1017 Bytes
/
post_software.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
33
34
35
36
37
38
39
40
41
42
43
44
- name: Step 00xxxxx post software
hosts: support
gather_facts: False
become: yes
tasks:
- debug:
msg: "Post-Software tasks Started"
- name: Step lab post software deployment
hosts: bastions
gather_facts: False
become: yes
tags:
- opentlc_bastion_tasks
tasks:
- when: install_ipa_client | bool
name: Install IPA Clinet on bastions
import_role:
name: "bastion-opentlc-ipa"
- when: install_ipa_client | bool
name: Restart IPA related services
service:
name: "{{ service }}"
state: restarted
loop:
- sssd # sssd bug, fixed by restart
- messagebus # oddjobd failing without messagebus restart
- oddjobd
loop_control:
loop_var: service
- name: PostSoftware flight-check
hosts: localhost
connection: local
gather_facts: false
become: false
tags:
- post_flight_check
tasks:
- debug:
msg: "Post-Software checks completed successfully"