-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathrseval-playbook.yml
32 lines (27 loc) · 1.08 KB
/
rseval-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
28
29
30
31
32
---
- 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 }
# - hosts: mongo
# tags: deploy
# become: yes
# roles:
# - { role: mongodb, task: main, tags: mongodb }
- hosts: apache
tags: deploy
become: yes
roles:
- { role: apache, task: main, tags: apache}
- hosts: rseval
tags: deploy
become: yes
roles:
- { role: rseval, task: deploy }