Skip to content

Commit

Permalink
Trying file module with touch state (#217)
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Houseknecht authored Nov 30, 2017
1 parent 7cc28e0 commit 2350101
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion deploy/roles/galaxy-deploy/tasks/web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,15 @@
state: stopped

- name: Set log file ownership
command: chown -f apache:apache /var/log/galaxy/*
file:
path: '/var/log/galaxy/{{ item }}'
owner: apache
group: apache
state: touch
with_items:
- allauth.log
- django.log
- galaxy.log

- name: Start apache
service:
Expand Down

0 comments on commit 2350101

Please sign in to comment.