Ansible-puppet must create the reports dir
Previously the puppetmaster was creating reports directories. Now that ansible is in charge, it must do it. Change-Id: I26e1e2ebd45f0c7d75652f9acb9999aee8a3e40c
This commit is contained in:
parent
ffeeba25a4
commit
9c526e11ce
@ -66,6 +66,10 @@
|
||||
- name: set log filename
|
||||
set_fact: puppet_logfile="{{ files.stdout_lines|sort|last }}"
|
||||
|
||||
- name: create reports directory
|
||||
file: path=/var/lib/puppet/reports/{{ ansible_fqdn }} owner=root group=root mode=0755 state=directory
|
||||
delegate_to: localhost
|
||||
|
||||
- name: fetch file
|
||||
synchronize:
|
||||
mode: pull
|
||||
|
Loading…
x
Reference in New Issue
Block a user