Remove become and become_user from include_role

In new Ansible releases the become and become_user are not valid
options for include_role.
In Ansible 2.7 they are being ignored but for Ansible 2.8 they will
raise errors:
ERROR! 'become' is not a valid attribute for a IncludeRole
ERROR! 'become_user' is not a valid attribute for a IncludeRole

Change-Id: I0eb1c1713d9c3e2a5acb89f6606281a9ceb774fc
This commit is contained in:
Avishay Machluf 2019-01-17 10:04:35 +02:00
parent 34b12e0dee
commit 4d62924945
1 changed files with 0 additions and 2 deletions

View File

@ -14,8 +14,6 @@
rhos_release_rpm: "https://url.corp.redhat.com/rhos-release-latest-rpm"
release: "{{ current_release }}"
rr_buildmods: "pin"
become: true
become_user: root
when: ffu_undercloud_repo_type == 'rhos-release'
- name: Upgrade undercloud to {{ current_release }}