-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathrepo.yml
40 lines (37 loc) · 1.04 KB
/
repo.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
---
- name: Import pre deploy checks.
ansible.builtin.import_playbook: pre_deploy_checks.yml
- name: Import initialization playbook for all hosts.
ansible.builtin.import_playbook: init.yml
- name: '###==-> Roles for repo management servers. <-==###'
hosts: repo
roles:
- iptables
- ssh # client
- grub
- swap
- locale
- logrotate
- logins
- sshd
- basic_security
- remove
- update
- role: logs_client
when: logs_class is defined
- name: '###==-> Roles for repo management servers. <-==###'
hosts: repo
#
# Use hard coded strategy linear to disable mitogen when present as it
# cannot handle this combiantion of
# vars:
# ansible_python_interpreter: "/admin/{{ repo_management_user }}/pulp-cli.venv/bin/python3"
# become: true
# become_user: "{{ repo_management_user }}"
# to execute a task using a different user and inside a Python virtual environment
# located in the home dir of that different user: bummer.
#
strategy: linear
roles:
- pulp_server
...