forked from CCCHH/ansible-infra
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 ]
|
||||
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue