fix ansible-lint warnings of jool_nat64 role
This commit is contained in:
parent
ddd979312a
commit
0d6c721dcd
1 changed files with 7 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue