diff --git a/plays/predeploy/lib/files.yml b/plays/predeploy/lib/files.yml index 2001bc6..19eff86 100644 --- a/plays/predeploy/lib/files.yml +++ b/plays/predeploy/lib/files.yml @@ -1,5 +1,6 @@ --- - name: Copy over files + become: true template: src: "{{ app_config_root }}/files/{{ item.src }}" dest: "{{ item.dest }}" diff --git a/plays/predeploy/lib/templates.yml b/plays/predeploy/lib/templates.yml index 3e99719..fe5e606 100644 --- a/plays/predeploy/lib/templates.yml +++ b/plays/predeploy/lib/templates.yml @@ -1,5 +1,6 @@ --- - name: Copy over template files + become: true template: src: "{{ app_config_root }}/templates/{{ item.src }}" dest: "{{ item.dest }}"