Remove auth line to fallback on default(omit) behaviour

Ansible openstack_full_argument_spec defines the 'auth' param
as dict.
As the enroll task defaults the 'auth' variable to None, Ansible
first sets that to string 'None' which makes it unconvertible to
dict.
Removing the line to leverage the default(omit) fixes the issue.

Change-Id: Ib442fdca64e375eb8025212067032c93934d5d94
Closes-Bug: LP1612196
This commit is contained in:
Ricardo Carrillo Cruz 2016-08-11 13:20:05 +02:00
parent dc732e68f3
commit 2b9ccfc5b0

View File

@ -15,7 +15,6 @@
- name: "If in noauth mode, set Auth parameters to None" - name: "If in noauth mode, set Auth parameters to None"
set_fact: set_fact:
auth_type: None auth_type: None
auth: None
when: noauth_mode | bool == true when: noauth_mode | bool == true
- name: "Dynamic enrollment" - name: "Dynamic enrollment"
os_ironic: os_ironic: