From 0d6c721dcd8822aef866c27e234a5c207c6d83e8 Mon Sep 17 00:00:00 2001
From: lilly
Date: Sun, 6 Dec 2026 12:13:54 +0100
Subject: [PATCH] fix ansible-lint warnings of jool_nat64 role
---
roles/jool_nat64/tasks/main.yaml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/roles/jool_nat64/tasks/main.yaml b/roles/jool_nat64/tasks/main.yaml
index 608d6f2..350d39e 100644
--- a/roles/jool_nat64/tasks/main.yaml
+++ b/roles/jool_nat64/tasks/main.yaml
@@ -1,4 +1,5 @@
- tags: [ jool_nat64, jool, nat64 ]
+ name: Apply jool_nat64 role
block:
- name: Install jool
@@ -11,6 +12,9 @@
ansible.builtin.file:
path: /etc/jool
state: directory
+ owner: root
+ group: root
+ mode: u=rwx,g=rx,o=rx
- name: Configure jool
become: true
@@ -18,6 +22,9 @@
ansible.builtin.copy:
content: "{{ jool_nat64__settings | to_json }}"
dest: "/etc/jool/jool.conf"
+ owner: root
+ group: root
+ mode: u=rw,g=r,o=r
- name: Ensure jool is running and enabled
become: true