Do not depends on the order of the hash vars in ffu repo switching.

As vars in defined as an hash and we can't depends on the ordering
here.

Change-Id: I93fb1811aff6a5c0e5f984f8562a6cdd207f1b5c
Related-Bug: #1749338
This commit is contained in:
Sofer Athlan-Guyot 2018-02-14 10:52:21 +01:00
parent 9a91a71426
commit d20264c8ba
1 changed files with 1 additions and 2 deletions

View File

@ -116,8 +116,7 @@ outputs:
- name: Enable tripleo-repos
command: tripleo-repos {{ cmd_args | join(' ') }}
vars:
query: "tripleo_repos[?release=='{{release}}'].args"
cmd_args: "{{ fast_forward_repo_args | json_query(query) }}"
cmd_args: "{{ fast_forward_repo_args | json_query('tripleo_repos[?release=='+release+'].args') }}"
when:
- step|int == 3
- is_bootstrap_node|bool