roswaal/setup.yml

30 lines
470 B
YAML
Raw Normal View History

2021-10-15 20:23:17 -04:00
---
2021-10-15 21:20:35 -04:00
- hosts: all
2021-10-15 22:13:30 -04:00
handlers:
- import_tasks: handlers.yml
2021-10-15 21:42:51 -04:00
vars_prompt:
- name: password
prompt: "Enter new root and admin password"
2021-10-15 21:20:35 -04:00
roles:
- immortal
2021-10-15 22:13:30 -04:00
become: yes
2021-10-15 21:20:35 -04:00
- hosts: web
2021-10-15 22:13:30 -04:00
handlers:
- import_tasks: handlers.yml
2021-10-15 21:20:35 -04:00
roles:
- web
2021-10-15 22:13:30 -04:00
become: yes
2021-10-15 21:20:35 -04:00
- hosts: database
2021-10-15 22:13:30 -04:00
handlers:
- import_tasks: handlers.yml
2021-10-15 21:20:35 -04:00
roles:
- database
2021-10-15 22:13:30 -04:00
become: yes
2021-10-15 21:20:35 -04:00
- hosts: all
roles:
2021-10-15 22:13:30 -04:00
- geerlingguy.docker
become: yes