From 5da4fcc1e9d6563ad6a6d36144df3b6b9bc9f678 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20Berthaud-M=C3=BCller?= Date: Fri, 30 Jul 2021 11:46:17 +0200 Subject: [PATCH] remove become_user --- roles/knot/tasks/main.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/roles/knot/tasks/main.yml b/roles/knot/tasks/main.yml index e07d3bd..f7aa584 100644 --- a/roles/knot/tasks/main.yml +++ b/roles/knot/tasks/main.yml @@ -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