From 2b9ccfc5b0fd9420bfcd1b4c23e6e5d010181f6f Mon Sep 17 00:00:00 2001 From: Ricardo Carrillo Cruz Date: Thu, 11 Aug 2016 13:20:05 +0200 Subject: [PATCH] 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 --- playbooks/roles/ironic-enroll-dynamic/tasks/main.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/playbooks/roles/ironic-enroll-dynamic/tasks/main.yml b/playbooks/roles/ironic-enroll-dynamic/tasks/main.yml index 4be2694d6..d94ddd205 100644 --- a/playbooks/roles/ironic-enroll-dynamic/tasks/main.yml +++ b/playbooks/roles/ironic-enroll-dynamic/tasks/main.yml @@ -15,7 +15,6 @@ - name: "If in noauth mode, set Auth parameters to None" set_fact: auth_type: None - auth: None when: noauth_mode | bool == true - name: "Dynamic enrollment" os_ironic: