diff --git a/ansible/roles/setfile/tasks/main.yml b/ansible/roles/setfile/tasks/main.yml index fca02d683..442072dda 100644 --- a/ansible/roles/setfile/tasks/main.yml +++ b/ansible/roles/setfile/tasks/main.yml @@ -6,11 +6,13 @@ register: downloaded connection: local run_once: yes + become: no - name: Figure out file source set_fact: compiledsource: "{{ (downloaded.skipped is defined) | ternary(source, downloaded.dest) }}" connection: local + become: no - name: Extract file to destination when: compiledsource | regex_search('\\.(zip|tar|tar\\.gz|tgz|tb2|tbz|tbz2|tar\\.bz2|txz|tar\\.xz)$')