forked from redhat-cop/agnosticd
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpre_software.yml
More file actions
54 lines (48 loc) · 1.11 KB
/
pre_software.yml
File metadata and controls
54 lines (48 loc) · 1.11 KB
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
51
52
53
54
---
- name: Step 003 Pre Software
hosts: localhost
gather_facts: false
become: false
tasks:
- debug:
msg: "Step 003 Pre Software"
- include_role:
name: infra-local-create-ssh_key
when: set_env_authorized_key | bool
- 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
- include_role:
name: set_env_authorized_key
when: set_env_authorized_key | bool
- name: Configuring Bastion Hosts
hosts: bastions
become: true
gather_facts: false
tasks:
- include_role:
name: bastion-lite
when: install_bastion | 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"