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
|
2021-10-15 22:33:49 -04:00
|
|
|
vars:
|
|
|
|
pip_install_packages:
|
|
|
|
- name: docker
|
|
|
|
|
2021-10-15 21:20:35 -04:00
|
|
|
roles:
|
2021-10-15 22:33:49 -04:00
|
|
|
- geerlingguy.pip
|
2021-10-15 22:13:30 -04:00
|
|
|
- geerlingguy.docker
|
|
|
|
become: yes
|