Browse Source

Merge "Add ability to override mgmt manifest path"

changes/86/593186/1
Zuul 1 year ago
parent
commit
6e8b8a56b9
2 changed files with 2 additions and 1 deletions
  1. 1
    0
      defaults/main.yml
  2. 1
    1
      tasks/main.yaml

+ 1
- 0
defaults/main.yml View File

@@ -17,3 +17,4 @@ puppet_environment_basedir: '/opt/system-config/'
17 17
 puppet_environment: production
18 18
 puppet_timeout: 30m
19 19
 futureparser: False
20
+mgmt_manifestpath: '{{ manifest_base }}/{{ puppet_environment }}'

+ 1
- 1
tasks/main.yaml View File

@@ -76,7 +76,7 @@
76 76
 
77 77
     - name: copy puppet modules
78 78
       synchronize:
79
-        src: "{{ manifest_base }}/{{ puppet_environment }}"
79
+        src: "{{ mgmt_manifestpath }}"
80 80
         dest: "{{ manifest_base }}"
81 81
 
82 82
     - name: ensure hieradata manifest link is present

Loading…
Cancel
Save