Skip to content

Commit

Permalink
🔥 (magic-role): Removed the backup Ansible task file
Browse files Browse the repository at this point in the history
  • Loading branch information
theobori committed Apr 30, 2024
1 parent e4c652e commit ee8d9fc
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 105 deletions.
126 changes: 63 additions & 63 deletions main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,69 +2,69 @@
- hosts: all

Check warning on line 2 in main.yml

View workflow job for this annotation

GitHub Actions / Ansible Lint

name[play]

All plays should be named.
become: true
roles:
# - role: base
# tags: base

# - role: nickjj.docker
# tags: ["docker"]
# docker__users: [
# "{{ ansible_ssh_user }}"
# ]
# ignore_errors: true

# - role: weareinteractive.ufw
# tags: ufw
# ufw_enabled: true
# ufw_packages: ["ufw"]
# ufw_rules:
# - logging: "full"
# - rule: allow
# to_port: '443'
# - rule: allow
# to_port: '80'
# - rule: allow
# to_port: '25'
# - rule: allow
# to_port: '110'
# - rule: allow
# to_port: '143'
# - rule: allow
# to_port: '465'
# - rule: allow
# to_port: '587'
# - rule: allow
# to_port: '993'
# # Gitea SSH exception
# - rule: allow
# to_port: '22'
# - rule: allow
# to_port: '995'
# - rule: allow
# to_port: '4190'
# proto: tcp
# # Delete default rule
# - rule: allow
# name: Anywhere
# delete: true
# ufw_manage_config: true
# ufw_config:
# IPV6: "true"
# DEFAULT_INPUT_POLICY: DROP
# DEFAULT_OUTPUT_POLICY: ACCEPT
# DEFAULT_FORWARD_POLICY: DROP
# DEFAULT_APPLICATION_POLICY: SKIP
# MANAGE_BUILTINS: "no"
# IPT_SYSCTL: /etc/ufw/sysctl.conf
# IPT_MODULES: ""

# - role: shell
# tags: shell

# - role: profile
# tags: profile

# - role: magic
# tags: magic
- role: base
tags: base

- role: nickjj.docker
tags: ["docker"]
docker__users: [
"{{ ansible_ssh_user }}"
]
ignore_errors: true

- role: weareinteractive.ufw
tags: ufw
ufw_enabled: true
ufw_packages: ["ufw"]
ufw_rules:
- logging: "full"
- rule: allow
to_port: '443'
- rule: allow
to_port: '80'
- rule: allow
to_port: '25'
- rule: allow
to_port: '110'
- rule: allow
to_port: '143'
- rule: allow
to_port: '465'
- rule: allow
to_port: '587'
- rule: allow
to_port: '993'
# Gitea SSH exception
- rule: allow
to_port: '22'
- rule: allow
to_port: '995'
- rule: allow
to_port: '4190'
proto: tcp
# Delete default rule
- rule: allow
name: Anywhere
delete: true
ufw_manage_config: true
ufw_config:
IPV6: "true"
DEFAULT_INPUT_POLICY: DROP
DEFAULT_OUTPUT_POLICY: ACCEPT
DEFAULT_FORWARD_POLICY: DROP
DEFAULT_APPLICATION_POLICY: SKIP
MANAGE_BUILTINS: "no"
IPT_SYSCTL: /etc/ufw/sysctl.conf
IPT_MODULES: ""

- role: shell
tags: shell

- role: profile
tags: profile

- role: magic
tags: magic

- role: nginx
tags: nginx
Expand Down
41 changes: 0 additions & 41 deletions roles/magic/tasks/backup.yml

This file was deleted.

1 change: 0 additions & 1 deletion roles/magic/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@
loop:
- base
- report
- backup
loop_control:
loop_var: task_name

0 comments on commit ee8d9fc

Please sign in to comment.