-
Notifications
You must be signed in to change notification settings - Fork 0
/
site.yml
41 lines (31 loc) · 951 Bytes
/
site.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
---
- name: RHEL Standard Environment
hosts: "{{ survey_hostname | default(survey_hosts) }}"
gather_facts: true
vars_files:
- "vars/{{ (aap_environment == 'prod') | ternary('aap_prod.yml', 'aap_test.yml') }}"
# Survey Vars
# survey_hostname / survey_hosts
pre_tasks:
# Variable Needed for packages and firewall role
- name: Check if Cockpit is Installed
ansible.builtin.yum:
list: cockpit
disablerepo: "*"
register: cockpit_pkg_status
# Facts Needed for packages and firewall role
- name: Check Port 9090 for Usage for Cockpit Conflicts
community.general.listen_ports_facts:
roles:
- role: common
- role: time
- role: networking
when:
- "'tag_application_bind' not in group_names"
- role: packages
when:
- "'tag_application_satellite' not in group_names"
- role: firewall
- role: auth
- role: users
tags: users