Compare commits
No commits in common. "06b094e769d3202f6cf8c9c64679be642d7d32d3" and "f0a6605f82a36f66f9c82c37b69e7a2554c3073d" have entirely different histories.
06b094e769
...
f0a6605f82
@ -1,3 +0,0 @@
|
||||
- name: restart ufw
|
||||
service: name=ufw state=restarted
|
||||
become: yes
|
@ -54,6 +54,7 @@
|
||||
|
||||
- name: Disable firewalld if RHEL based
|
||||
shell: "systemctl disable firewalld; systemctl stop firewalld"
|
||||
|
||||
when: ansible_os_family == "RedHat"
|
||||
|
||||
- name: Ensure UFW is installed
|
||||
|
10
setup.yml
10
setup.yml
@ -1,30 +1,20 @@
|
||||
---
|
||||
|
||||
- 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
|
||||
become: yes
|
Loading…
Reference in New Issue
Block a user