summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMonty Taylor <mordred@inaugust.com>2016-09-16 12:59:02 -0400
committerMonty Taylor <mordred@inaugust.com>2016-10-01 08:11:12 -0700
commite46f449ca52303184523f98281d308486e30cd6c (patch)
tree8ff4bd622b5d9588d09694e1a67290b5b8726ab7
parenta3cc1c5c9ae263c7a32f723cf60b459c93e577b5 (diff)
Pass environment to puppet module
Notes
Notes (review): Code-Review+2: Clark Boylan <cboylan@sapwetik.org> Code-Review+2: Paul Belanger <pabelanger@redhat.com> Code-Review+2: Spencer Krum <nibz@spencerkrum.com> Workflow+1: James E. Blair <corvus@inaugust.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Tue, 04 Oct 2016 21:17:59 +0000 Reviewed-on: https://review.openstack.org/371710 Project: openstack-infra/ansible-role-puppet Branch: refs/heads/master
-rw-r--r--tasks/main.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/tasks/main.yml b/tasks/main.yml
index ce5428e..26ef50f 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -63,6 +63,7 @@
63 facts: "{{ facts|default(omit) }}" 63 facts: "{{ facts|default(omit) }}"
64 facter_basename: "{{ facter_basename|default(omit) }}" 64 facter_basename: "{{ facter_basename|default(omit) }}"
65 logdest: "{{ puppet_logdest|default(omit) }}" 65 logdest: "{{ puppet_logdest|default(omit) }}"
66 environment: "{{ puppet_environment|default(omit) }}"
66- always: 67- always:
67 - name: find logs 68 - name: find logs
68 shell: "ls -tr /var/lib/puppet/reports/{{ ansible_fqdn }}/*_puppetdb.json" 69 shell: "ls -tr /var/lib/puppet/reports/{{ ansible_fqdn }}/*_puppetdb.json"