summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--defaults/main.yml1
-rw-r--r--tasks/main.yml1
2 files changed, 2 insertions, 0 deletions
diff --git a/defaults/main.yml b/defaults/main.yml
index 5dbb131..9411169 100644
--- a/defaults/main.yml
+++ b/defaults/main.yml
@@ -15,3 +15,4 @@ puppet_environmentpath: '$confdir/environments'
15puppet_hiera_datadir: '/opt/system-config/' 15puppet_hiera_datadir: '/opt/system-config/'
16puppet_environment_basedir: '/opt/system-config/' 16puppet_environment_basedir: '/opt/system-config/'
17puppet_environment: production 17puppet_environment: production
18puppet_timeout: 30m
diff --git a/tasks/main.yml b/tasks/main.yml
index 0836240..3041cb0 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -66,6 +66,7 @@
66 environment: "{{ puppet_environment|default(omit) }}" 66 environment: "{{ puppet_environment|default(omit) }}"
67 noop: "{{ puppet_noop|default(omit) }}" 67 noop: "{{ puppet_noop|default(omit) }}"
68 debug: "{{ puppet_debug|default(omit) }}" 68 debug: "{{ puppet_debug|default(omit) }}"
69 timeout: "{{ puppet_timeout|default(omit) }}"
69- always: 70- always:
70 - name: find logs 71 - name: find logs
71 shell: "ls -tr /var/lib/puppet/reports/{{ ansible_fqdn }}/*_puppetdb.json" 72 shell: "ls -tr /var/lib/puppet/reports/{{ ansible_fqdn }}/*_puppetdb.json"