-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsite.yml
More file actions
25 lines (22 loc) · 791 Bytes
/
site.yml
File metadata and controls
25 lines (22 loc) · 791 Bytes
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
---
# atl.sh pubnix — main playbook
# Run with: just deploy <dev|staging|prod>
# Or: ansible-playbook site.yml -l <dev|staging|prod> [--tags ...]
- name: Configure atl.sh pubnix server
hosts: all
gather_facts: true
become: true
roles:
- { role: common, tags: ["common"] }
- { role: packages, tags: ["packages"] }
- { role: security, tags: ["security"] }
- { role: users, tags: ["users"] }
- { role: environment, tags: ["environment", "env"] }
- { role: services, tags: ["services", "web"] }
- { role: ftp, tags: ["ftp"] }
- { role: monitoring, tags: ["monitoring"] }
- { role: backup, tags: ["backup"] }
post_tasks:
- name: Run post-deploy service checks
ansible.builtin.import_tasks: tasks/verify-deploy.yml
tags: [verify]