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
|
- name: Disable firewalld if RHEL based
|
||||||
shell: "systemctl disable firewalld; systemctl stop firewalld"
|
shell: "systemctl disable firewalld; systemctl stop firewalld"
|
||||||
|
|
||||||
when: ansible_os_family == "RedHat"
|
when: ansible_os_family == "RedHat"
|
||||||
|
|
||||||
- name: Ensure UFW is installed
|
- name: Ensure UFW is installed
|
||||||
|
10
setup.yml
10
setup.yml
@ -1,30 +1,20 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
- hosts: all
|
- hosts: all
|
||||||
handlers:
|
|
||||||
- import_tasks: handlers.yml
|
|
||||||
vars_prompt:
|
vars_prompt:
|
||||||
- name: password
|
- name: password
|
||||||
prompt: "Enter new root and admin password"
|
prompt: "Enter new root and admin password"
|
||||||
roles:
|
roles:
|
||||||
- immortal
|
- immortal
|
||||||
become: yes
|
|
||||||
|
|
||||||
- hosts: web
|
- hosts: web
|
||||||
handlers:
|
|
||||||
- import_tasks: handlers.yml
|
|
||||||
roles:
|
roles:
|
||||||
- web
|
- web
|
||||||
become: yes
|
|
||||||
|
|
||||||
- hosts: database
|
- hosts: database
|
||||||
handlers:
|
|
||||||
- import_tasks: handlers.yml
|
|
||||||
roles:
|
roles:
|
||||||
- database
|
- database
|
||||||
become: yes
|
|
||||||
|
|
||||||
- hosts: all
|
- hosts: all
|
||||||
roles:
|
roles:
|
||||||
- geerlingguy.docker
|
- geerlingguy.docker
|
||||||
become: yes
|
|
Loading…
Reference in New Issue
Block a user