Fix nftables config, Remove ansible log dir task

This commit is contained in:
LinuxSquare 2024-08-24 17:51:59 +02:00
parent 1dd471f09e
commit 42729efb17
2 changed files with 3 additions and 10 deletions

View file

@ -4,8 +4,8 @@
table inet filter {
chain input {
tcp dport 22 accept
{%- for port in ALLOWED_PORTS %}
{% for port in ALLOWED_PORTS %}
tcp dport {{ port }} accept
{%- endfor %}
{% endfor %}
}
}

View file

@ -13,11 +13,4 @@
dest: /etc/ansible/ansible.cfg
owner: root
group: root
mode: '0644'
- name: Ansible log directory
file:
state: directory
path: /var/log/ansible
owner: root
group: root
mode: '0700'
mode: "0644"