Correct file time task in production post playbook

Replace the optional src parameter with the required path parameter,
this seems to have been a simple typo.

Change-Id: Ib95a11b28eed138225b57062faeb7c344067c991
changes/80/852180/1
Jeremy Stanley 4 months ago
parent bdbd6d120b
commit f2db6e3154
  1. 2
      playbooks/zuul/run-production-playbook-post.yaml

@ -105,7 +105,7 @@
# makes lining things up more logical
- name: Reset file time
file:
src: '/var/log/ansible/{{ playbook_name }}.log.{{ _log_timestamp }}'
path: '/var/log/ansible/{{ playbook_name }}.log.{{ _log_timestamp }}'
state: touch
modification_time: '{{ _log_timestamp }}'
modification_time_format: '%Y-%m%-%dT%H:%M:%S'

Loading…
Cancel
Save