Update Ansible version to stable-2.1

Updated the version to be installed to stable-2.1 as well
as updated some of the playbooks that were incorrectly
passing string arguments instead of dictionary arguments
for authentication since Ansible 2.1 has checks that
detect this.

Additionally, updated the task labels used for unsetting
authentiction parameters to be more consistent with the
state of the code.

Change-Id: I8c50cd2a722f2c8fee91fb6ef0761969dd3da138
This commit is contained in:
Julia Kreger
2016-09-27 21:34:27 +00:00
parent 675effac14
commit 2c60745fba
7 changed files with 20 additions and 9 deletions

View File

@@ -17,9 +17,10 @@
# the pass-through could mean that the user could deploy
# things that are not directly accessible or reasonable
# to be inspected.
- name: "If in noauth mode, set Auth parameters to None"
- name: "If in noauth mode, unset authentication parameters."
set_fact:
auth_type: None
auth: {}
when: noauth_mode | bool == true
- name: "Setup DHCP for nodes."
template: