Browse Source

Add ability to override mgmt manifest path

We have it currently hardcoded that the manifests on the management
server are going to have an environment path. Add a variable to allow
override of that idea.

Change-Id: I226c030332ff93c3ee74650c7ab725994971f007
Needed-By: https://review.openstack.org/592763
Monty Taylor 8 months ago
parent
commit
0a3c32b5ac
No account linked to committer's email address
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

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

Loading…
Cancel
Save