remove become_user
This commit is contained in:
parent
db07371732
commit
5da4fcc1e9
1 changed files with 0 additions and 3 deletions
|
@ -16,7 +16,6 @@
|
||||||
|
|
||||||
- name: Generate tsig
|
- name: Generate tsig
|
||||||
become: yes
|
become: yes
|
||||||
become_user: knot
|
|
||||||
ansible.builtin.shell: keymgr -t {{ key_name }} > /etc/knot/{{ key_name }}.key
|
ansible.builtin.shell: keymgr -t {{ key_name }} > /etc/knot/{{ key_name }}.key
|
||||||
args:
|
args:
|
||||||
creates: /etc/knot/{{ key_name }}.key
|
creates: /etc/knot/{{ key_name }}.key
|
||||||
|
@ -24,7 +23,6 @@
|
||||||
|
|
||||||
- name: Fetch key
|
- name: Fetch key
|
||||||
become: yes
|
become: yes
|
||||||
become_user: knot
|
|
||||||
ansible.builtin.slurp:
|
ansible.builtin.slurp:
|
||||||
src: /etc/knot/{{ key_name }}.key
|
src: /etc/knot/{{ key_name }}.key
|
||||||
register: tsig_key
|
register: tsig_key
|
||||||
|
@ -32,7 +30,6 @@
|
||||||
|
|
||||||
- name: Deploy conf
|
- name: Deploy conf
|
||||||
become: yes
|
become: yes
|
||||||
become_user: knot
|
|
||||||
template:
|
template:
|
||||||
src: knot.conf.j2
|
src: knot.conf.j2
|
||||||
dest: /etc/knot/knot.conf
|
dest: /etc/knot/knot.conf
|
||||||
|
|
Loading…
Reference in a new issue