TripleO common AnsibleAction class fails on any add hoc command not formated ad dict
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
High
|
Radoslaw Smigielski |
Bug Description
tripleo_
> ansible overcloud-
> ansible overcloud-
This is fully working but when remote command is going to have any param/switch this fails, example:
> ansible overcloud-
The problem is that in AnsibleAction class --args is always treated as JSON and converted to string with json.dumps():
if self.module_args:
so in my above example this is what we end up with:
(Pdb) command
['ansible', 'overcloud-
(Pdb) self.module_args
'"hostname -s"'
Changed in tripleo: | |
assignee: | nobody → Radoslaw Smigielski (radoslaw-smigielski) |
status: | New → In Progress |
summary: |
- TripleO common AnsibleAction class fails on any add hoccommand not + TripleO common AnsibleAction class fails on any add hoc command not formated ad dict |
description: | updated |
Changed in tripleo: | |
importance: | Undecided → High |
milestone: | none → stein-2 |
tags: | added: rocky-backport-potential |
Fix proposed to branch: master /review. openstack. org/620236
Review: https:/