Initial commit
This commit is contained in:
commit
b16f2585c7
19 changed files with 690 additions and 0 deletions
33
playbook.yml
Normal file
33
playbook.yml
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
- hosts: sentry
|
||||
pre_tasks:
|
||||
- include_role:
|
||||
name: common
|
||||
tasks_from: 'setup.yml'
|
||||
- include_role:
|
||||
name: common
|
||||
tasks_from: 'network.yml'
|
||||
- include_role:
|
||||
name: common
|
||||
tasks_from: 'host.yml'
|
||||
- include_role:
|
||||
name: common
|
||||
tasks_from: 'sudoers.yml'
|
||||
loop:
|
||||
- { src: '../../templates/sudoers.j2', dest: '/etc/sudoers.d/30-ansible-extra' }
|
||||
roles:
|
||||
- common
|
||||
tasks:
|
||||
- include_role:
|
||||
name: common
|
||||
tasks_from: 'ssl.yml'
|
||||
- include_role:
|
||||
name: common
|
||||
tasks_from: 'nginx.yml'
|
||||
- import_tasks: 'tasks/docker.yml'
|
||||
- import_tasks: 'tasks/main.yml'
|
||||
handlers:
|
||||
- import_tasks: 'handlers.yml'
|
||||
vars_files:
|
||||
- 'vars/main.yml'
|
||||
- 'vars/network.yml'
|
||||
- 'vars/postgres.yml'
|
||||
Reference in a new issue