Remove jinja2 delimiters from when
This patch removes the jinja2 delimiters from the when clause and cleans up the name of the configuration file deployment task. Closes-Bug: 1735782 Change-Id: I7e1ead5d3dfc9d36b182c73631801cefefb2fbad
This commit is contained in:
parent
118a11009b
commit
6c260baeb3
@ -13,7 +13,7 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
- name: Drop Glance Config(s)
|
||||
- name: Deploy Glance configuration files
|
||||
config_template:
|
||||
src: "{{ item.src }}"
|
||||
dest: "{{ item.dest }}"
|
||||
@ -22,7 +22,7 @@
|
||||
mode: "0640"
|
||||
config_overrides: "{{ item.config_overrides }}"
|
||||
config_type: "{{ item.config_type }}"
|
||||
when: "{{ item.condition | default(True) }}"
|
||||
when: item.condition | default(True)
|
||||
with_items:
|
||||
- src: "glance-api-paste.ini.j2"
|
||||
dest: "/etc/glance/glance-api-paste.ini"
|
||||
|
Loading…
x
Reference in New Issue
Block a user