Browse Source

Pass environment to puppet module

Change-Id: I6be88234eab32844f395df7658952b1cef944bd8
Monty Taylor 2 years ago
parent
commit
e46f449ca5
No account linked to committer's email address
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      tasks/main.yml

+ 1
- 0
tasks/main.yml View File

@@ -63,6 +63,7 @@
63 63
       facts: "{{ facts|default(omit) }}"
64 64
       facter_basename: "{{ facter_basename|default(omit) }}"
65 65
       logdest: "{{ puppet_logdest|default(omit) }}"
66
+      environment: "{{ puppet_environment|default(omit) }}"
66 67
 - always:
67 68
   - name: find logs
68 69
     shell: "ls -tr /var/lib/puppet/reports/{{ ansible_fqdn }}/*_puppetdb.json"

Loading…
Cancel
Save