-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathpcc-api-playbook.yml
27 lines (24 loc) · 1.32 KB
/
pcc-api-playbook.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
---
- hosts: all
become: yes
roles:
- { role: commons, task: timezone, tags: timezone }
- { role: commons, task: repos, tags: repos }
- { role: commons, task: basic_utils, tags: basic_utils }
- { role: commons, task: users, tags: groups_users_sshKeys }
- { role: commons, task: sshd, tags: sshd }
- { role: commons, task: firewall, tags: firewall }
- { role: commons, task: fail2ban, tags: fail2ban_conf }
- { role: commons, task: cert, tags: cert }
- { role: commons, task: rsyslog, tags: rsyslog_conf }
- { role: nickhammond.logrotate, tags: logrotate }
#- { role: commons, task: is_monitored, tags: monitored }
#- { role: commons, task: backupamsmongo, tags: rsyslog_conf }
- hosts: pcc-api
become: yes
roles:
- { role: pcc-api, task: main, tags: pcc-api }
- hosts: icinga_agent
become: yes
roles:
- { role: icinga_agent, tags: deploy_icinga_agent }