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
|
||||
become: yes
|
||||
become_user: knot
|
||||
ansible.builtin.shell: keymgr -t {{ key_name }} > /etc/knot/{{ key_name }}.key
|
||||
args:
|
||||
creates: /etc/knot/{{ key_name }}.key
|
||||
|
@ -24,7 +23,6 @@
|
|||
|
||||
- name: Fetch key
|
||||
become: yes
|
||||
become_user: knot
|
||||
ansible.builtin.slurp:
|
||||
src: /etc/knot/{{ key_name }}.key
|
||||
register: tsig_key
|
||||
|
@ -32,7 +30,6 @@
|
|||
|
||||
- name: Deploy conf
|
||||
become: yes
|
||||
become_user: knot
|
||||
template:
|
||||
src: knot.conf.j2
|
||||
dest: /etc/knot/knot.conf
|
||||
|
|
Loading…
Reference in a new issue