Skip to content

Commit

Permalink
Idempotence
Browse files Browse the repository at this point in the history
  • Loading branch information
xbinois committed Apr 22, 2020
1 parent a4590d8 commit 78cd4bc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
7 changes: 7 additions & 0 deletions handlers/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,10 @@
command: gulp init
args:
chdir: "{{ omeka_content_dest }}"

- name: Change Web directory owner
file:
path: "{{ omeka_content_dest }}"
owner: www-data
group: www-data
recurse: true
8 changes: 1 addition & 7 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,4 @@
group: www-data
dest: "{{ omeka_content_dest }}/config/database.ini"
mode: 0644

- name: Change Web directory owner
file:
path: "{{ omeka_content_dest }}"
owner: www-data
group: www-data
recurse: true
notify: Change Web directory owner

0 comments on commit 78cd4bc

Please sign in to comment.