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:
parent
675effac14
commit
2c60745fba
@ -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:
|
||||
|
@ -12,10 +12,10 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
---
|
||||
- name: "If in noauth mode, set Auth parameters to None"
|
||||
- name: "If in noauth mode, unset authentication parameters."
|
||||
set_fact:
|
||||
auth_type: None
|
||||
auth: None
|
||||
auth: {}
|
||||
when: noauth_mode | bool == true
|
||||
- name: "Unprovision node"
|
||||
os_ironic_node:
|
||||
|
@ -12,10 +12,10 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
---
|
||||
- name: "If in noauth mode, set Auth parameters to None"
|
||||
- name: "If in noauth mode, unset authentication parameters."
|
||||
set_fact:
|
||||
auth_type: None
|
||||
auth: None
|
||||
auth: {}
|
||||
when: noauth_mode | bool == true
|
||||
- name: "Delete hardware"
|
||||
os_ironic:
|
||||
|
@ -12,9 +12,10 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
---
|
||||
- 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: "Dynamic enrollment"
|
||||
os_ironic:
|
||||
|
@ -12,10 +12,10 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
---
|
||||
- name: "If in noauth mode, set Auth parameters to None"
|
||||
- name: "If in noauth mode, unset authentication parameters."
|
||||
set_fact:
|
||||
auth_type: None
|
||||
auth: None
|
||||
auth: {}
|
||||
when: noauth_mode | bool == true
|
||||
- name: "Execute node introspection - NoAuth Mode"
|
||||
os_ironic_inspect:
|
||||
|
9
releasenotes/notes/ansible-2.1-4b6b36998287bb11.yaml
Normal file
9
releasenotes/notes/ansible-2.1-4b6b36998287bb11.yaml
Normal file
@ -0,0 +1,9 @@
|
||||
---
|
||||
features:
|
||||
- Bifrost has been updated to utilize Ansible 2.1's stable branch
|
||||
for the version of ansible installed.
|
||||
upgrade:
|
||||
- Bifrost has been changed to utilize Ansible 2.1 by default.
|
||||
Should a deployment encounter issues with Ansible, they may
|
||||
wish to check/update their version of Ansible, or re-execute
|
||||
the env-setup.sh script.
|
@ -2,7 +2,7 @@
|
||||
set -eu
|
||||
|
||||
ANSIBLE_GIT_URL=${ANSIBLE_GIT_URL:-https://github.com/ansible/ansible.git}
|
||||
ANSIBLE_GIT_BRANCH=${ANSIBLE_GIT_BRANCH:-stable-2.0}
|
||||
ANSIBLE_GIT_BRANCH=${ANSIBLE_GIT_BRANCH:-stable-2.1}
|
||||
ANSIBLE_INSTALL_ROOT=${ANSIBLE_INSTALL_ROOT:-/opt/stack}
|
||||
|
||||
function check_get_module () {
|
||||
|
Loading…
Reference in New Issue
Block a user