Add flag to control logging the rsyncs

rsyncing the puppet modules can be super chatty and not super
interesting. Add a flag to turn it off.

Change-Id: I7206955aeb335adafb8625c89d8b8a70078d666c
This commit is contained in:
Monty Taylor 2020-04-29 15:33:57 -05:00
parent 0505f79daa
commit ebfd4f9f7e
2 changed files with 3 additions and 0 deletions

View File

@ -19,3 +19,4 @@ puppet_timeout: 30m
futureparser: False
mgmt_manifestpath: '{{ manifest_base }}/{{ puppet_environment }}'
puppet_hieradata_link_dest: '{{ manifest_base }}/hieradata'
puppet_nolog_sync: false

View File

@ -83,6 +83,7 @@
synchronize:
src: "{{ mgmt_manifestpath }}"
dest: "{{ manifest_base }}"
no_log: "{{ puppet_nolog_sync | false }}"
- name: ensure hieradata manifest link is present
file:
@ -116,6 +117,7 @@
synchronize:
src: "{{ mgmt_puppet_module_dir }}"
dest: "{{ puppet_module_dir }}"
no_log: "{{ puppet_nolog_sync | bool }}"
when:
- copy_puppet