roles: refactor roles to start a docker container with directus and psotgresql database, add text-editor tool
This commit is contained in:
parent
e17f194745
commit
7bdbf243f2
16 changed files with 249 additions and 157 deletions
18
roles/firewalld/tasks/main.yml
Normal file
18
roles/firewalld/tasks/main.yml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
- name: Install
|
||||
package:
|
||||
name: firewalld
|
||||
state: present
|
||||
|
||||
- name: Start and activate
|
||||
service:
|
||||
name: firewalld
|
||||
state: started
|
||||
enabled: yes
|
||||
|
||||
- name: Block all ports
|
||||
firewalld:
|
||||
zone: public
|
||||
service: ssh
|
||||
permanent: yes
|
||||
state: enabled
|
||||
Loading…
Add table
Add a link
Reference in a new issue