From: Lorin Hochstein Date: Tue, 24 Jan 2017 06:29:24 +0000 (-0800) Subject: Set perms to be executable for scripts X-Git-Url: https://git.halfball.org/?a=commitdiff_plain;h=4e95715308463139337a87d0aa5217a7f36c3749;p=ansiblebook.git Set perms to be executable for scripts --- diff --git a/ch13/ansible/roles/mezzanine/tasks/main.yml b/ch13/ansible/roles/mezzanine/tasks/main.yml index d2383f8..2648fb4 100644 --- a/ch13/ansible/roles/mezzanine/tasks/main.yml +++ b/ch13/ansible/roles/mezzanine/tasks/main.yml @@ -21,7 +21,10 @@ src: "{{ lookup('pipe', 'dirname `pwd`') }}/mezzanine_example/" dest: /srv/project - name: copy scripts - copy: src="{{ role_path }}/files/{{ item }}" dest="/srv/bin/{{ item }}" + copy: + src: "{{ role_path }}/files/{{ item }}" + dest: "/srv/bin/{{ item }}" + mode: "u=rwx,g=rx,o=rx" with_items: - entrypoint.sh - setsite.py