forked from redhat-cop/agnosticd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pre_software.yml
50 lines (45 loc) · 1.04 KB
/
pre_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
45
46
47
48
49
50
---
- name: Step 003 Pre Software
hosts: localhost
gather_facts: false
become: false
tasks:
- debug:
msg: "Step 003 Pre Software"
- name: Configure all hosts with Repositories, Common Files and Set environment key
hosts:
- all:!windows
become: true
gather_facts: false
tags:
- common_tasks
tasks:
- include_role:
name: set-repositories
when: repo_method is defined
- include_role:
name: common
when: install_common | bool
- name: Configuring Bastion Hosts
hosts: bastions
become: true
gather_facts: false
tasks:
- include_role:
name: bastion-lite
when: install_bastion | default(true) | bool
- include_role:
name: bastion-student-user
when: install_student_user | default(false) | bool
tags:
- bastion_tasks
- name: PreSoftware flight-check
hosts: localhost
connection: local
gather_facts: false
become: false
tags:
- presoftware_flight_check
tasks:
- debug:
msg: "Pre-Software checks completed successfully"