diff options
Diffstat (limited to 'ansible/roles')
| -rw-r--r-- | ansible/roles/nginx-ufw/README.md | 3 | ||||
| -rw-r--r-- | ansible/roles/nginx-ufw/meta/main.yml | 4 | ||||
| -rw-r--r-- | ansible/roles/nginx-ufw/tasks/main.yml | 7 | ||||
| -rw-r--r-- | ansible/roles/ufw/tasks/main.yml | 17 |
4 files changed, 0 insertions, 31 deletions
diff --git a/ansible/roles/nginx-ufw/README.md b/ansible/roles/nginx-ufw/README.md deleted file mode 100644 index e657afb..0000000 --- a/ansible/roles/nginx-ufw/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# Role "nginx-ufw" - -Allows NGINX HTTP and HTTPS traffic through the UFW firewall. diff --git a/ansible/roles/nginx-ufw/meta/main.yml b/ansible/roles/nginx-ufw/meta/main.yml deleted file mode 100644 index a6e9124..0000000 --- a/ansible/roles/nginx-ufw/meta/main.yml +++ /dev/null @@ -1,4 +0,0 @@ ---- -dependencies: - - role: nginx - - role: ufw diff --git a/ansible/roles/nginx-ufw/tasks/main.yml b/ansible/roles/nginx-ufw/tasks/main.yml deleted file mode 100644 index 3b52f14..0000000 --- a/ansible/roles/nginx-ufw/tasks/main.yml +++ /dev/null @@ -1,7 +0,0 @@ ---- -- name: Allow http(s) traffic through the firewall - community.general.ufw: - app: Nginx Full - rule: allow - tags: - - role::nginx-ufw diff --git a/ansible/roles/ufw/tasks/main.yml b/ansible/roles/ufw/tasks/main.yml deleted file mode 100644 index e44d173..0000000 --- a/ansible/roles/ufw/tasks/main.yml +++ /dev/null @@ -1,17 +0,0 @@ -- name: Disable UFW # noqa - community.general.ufw: - state: disabled - tags: - - role::ufw - ignore_errors: true # subsequent deploys - -- name: Uninstall UFW - apt: - name: ufw - state: absent - purge: true - -- name: Purge UFW files - file: - path: /etc/ufw - state: absent |