Expose puppet_timeout variable
It is possible we want our puppet role to run longer then 30mins, expose the ability for a user to change it. Change-Id: Id42ba80a5118a9f93e45619ac6ecc5baa774549a Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
8d0f0bfd0a
commit
edb0e245d5
@ -15,3 +15,4 @@ puppet_environmentpath: '$confdir/environments'
|
||||
puppet_hiera_datadir: '/opt/system-config/'
|
||||
puppet_environment_basedir: '/opt/system-config/'
|
||||
puppet_environment: production
|
||||
puppet_timeout: 30m
|
||||
|
@ -66,6 +66,7 @@
|
||||
environment: "{{ puppet_environment|default(omit) }}"
|
||||
noop: "{{ puppet_noop|default(omit) }}"
|
||||
debug: "{{ puppet_debug|default(omit) }}"
|
||||
timeout: "{{ puppet_timeout|default(omit) }}"
|
||||
- always:
|
||||
- name: find logs
|
||||
shell: "ls -tr /var/lib/puppet/reports/{{ ansible_fqdn }}/*_puppetdb.json"
|
||||
|
Loading…
Reference in New Issue
Block a user