Use ansible_become instead of become in multinode devstack gate

In Ansible 2.8 the become and become_user are not valid options for
include_role. This is causing the multinode devstack gate job to fail
with:

ERROR! 'become' is not a valid attribute for a IncludeRole

This patch uses the correct variable ansible_become to be used with
include_roles.

Change-Id: I50dd7f447ec347177b245af69532b6688154acca
This commit is contained in:
Archit Modi 2019-12-18 13:56:57 -05:00 committed by Artom Lifshitz
parent d541909b13
commit 6218b77c4b

View File

@ -19,5 +19,5 @@
include_role:
name: copy-build-sshkey
vars:
ansible_become: yes
copy_sshkey_target_user: 'tempest'
become: yes