Compare commits

...

3 Commits

Author SHA1 Message Date
06b094e769 why won't this handler thing work 2021-10-15 22:20:55 -04:00
62dd3230fb just become everything 2021-10-15 22:13:30 -04:00
a3f45c0901 ansible please 2021-10-15 22:10:45 -04:00
4 changed files with 14 additions and 2 deletions

View File

@ -0,0 +1,3 @@
- name: restart ufw
service: name=ufw state=restarted
become: yes

View File

@ -54,7 +54,6 @@
- name: Disable firewalld if RHEL based
shell: "systemctl disable firewalld; systemctl stop firewalld"
when: ansible_os_family == "RedHat"
- name: Ensure UFW is installed

View File

@ -1,20 +1,30 @@
---
- hosts: all
handlers:
- import_tasks: handlers.yml
vars_prompt:
- name: password
prompt: "Enter new root and admin password"
roles:
- immortal
become: yes
- hosts: web
handlers:
- import_tasks: handlers.yml
roles:
- web
become: yes
- hosts: database
handlers:
- import_tasks: handlers.yml
roles:
- database
become: yes
- hosts: all
roles:
- geerlingguy.docker
- geerlingguy.docker
become: yes