fix ansible-lint warnings of jool_nat64 role

This commit is contained in:
lilly 2026-12-06 12:13:54 +01:00
commit 0d6c721dcd
Signed by: lilly
SSH key fingerprint: SHA256:y9T5GFw2A20WVklhetIxG1+kcg/Ce0shnQmbu1LQ37g

View file

@ -1,4 +1,5 @@
- tags: [ jool_nat64, jool, nat64 ] - tags: [ jool_nat64, jool, nat64 ]
name: Apply jool_nat64 role
block: block:
- name: Install jool - name: Install jool
@ -11,6 +12,9 @@
ansible.builtin.file: ansible.builtin.file:
path: /etc/jool path: /etc/jool
state: directory state: directory
owner: root
group: root
mode: u=rwx,g=rx,o=rx
- name: Configure jool - name: Configure jool
become: true become: true
@ -18,6 +22,9 @@
ansible.builtin.copy: ansible.builtin.copy:
content: "{{ jool_nat64__settings | to_json }}" content: "{{ jool_nat64__settings | to_json }}"
dest: "/etc/jool/jool.conf" dest: "/etc/jool/jool.conf"
owner: root
group: root
mode: u=rw,g=r,o=r
- name: Ensure jool is running and enabled - name: Ensure jool is running and enabled
become: true become: true