[WARNING]: when statements should not include jinja2 templating delimiters

Bug #1721213 reported by Gael Chamoulaud
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Gael Chamoulaud

Bug Description

Ansible>=2.3.0 will output warnings if `when` statements contain jinja2 templating delimiters such as curly braces (the playbooks are executing fine, despite the warnings).

https://ci.centos.org/artifacts/rdo/jenkins-tripleo-quickstart-extras-gate-newton-delorean-full-minimal-2319/undercloud/home/stack/run_preintro_validations_negative_tests.log.gz

Changed in tripleo:
assignee: Florian Fuchs (flo-fuchs) → Gael Chamoulaud (gael-chamoulaud)
status: New → In Progress
Martin André (mandre)
Changed in tripleo:
importance: Undecided → Medium
milestone: none → queens-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-validations (master)

Reviewed: https://review.openstack.org/484867
Committed: https://git.openstack.org/cgit/openstack/tripleo-validations/commit/?id=c16a61649c4225998ef3a2ce20e7481af88f72fd
Submitter: Jenkins
Branch: master

commit c16a61649c4225998ef3a2ce20e7481af88f72fd
Author: Florian Fuchs <email address hidden>
Date: Tue Jul 18 14:53:01 2017 +0000

    Remove syntax warnings for when statements

    Ansible>=2.3.0 will output warnings if `when` statements contain jinja2
    templating delimiters such as curly braces (the playbooks are executing
    fine, despite the warnings).

    This patch changes these statements to use the correct syntax as
    suggested in the docs.

    Change-Id: I58657253bdc46e90eec6dea7ea5e07a2bf6c466e
    Closes-Bug: #1721213

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-validations (stable/pike)

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/510042

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-validations (stable/pike)

Reviewed: https://review.openstack.org/510042
Committed: https://git.openstack.org/cgit/openstack/tripleo-validations/commit/?id=b99bb1f01511da443fff38e3e3e563e76dcff8f2
Submitter: Jenkins
Branch: stable/pike

commit b99bb1f01511da443fff38e3e3e563e76dcff8f2
Author: Florian Fuchs <email address hidden>
Date: Tue Jul 18 14:53:01 2017 +0000

    Remove syntax warnings for when statements

    Ansible>=2.3.0 will output warnings if `when` statements contain jinja2
    templating delimiters such as curly braces (the playbooks are executing
    fine, despite the warnings).

    This patch changes these statements to use the correct syntax as
    suggested in the docs.

    Change-Id: I58657253bdc46e90eec6dea7ea5e07a2bf6c466e
    Closes-Bug: #1721213
    (cherry picked from commit c16a61649c4225998ef3a2ce20e7481af88f72fd)

tags: added: in-stable-pike
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-validations 7.4.1

This issue was fixed in the openstack/tripleo-validations 7.4.1 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-validations 8.0.0

This issue was fixed in the openstack/tripleo-validations 8.0.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.