Comment 9 for bug 1752932

Revision history for this message
Damian Cikowski (dcdamien) wrote :

I have a similar issue:

ansible infra1 -m debug -a msg="{{ hostvars['infra1'] }}" -vvvv
Variable files: "-e @/etc/openstack_deploy/user_secrets.yml -e @/etc/openstack_deploy/user_variables_.yml -e @/etc/openstack_deploy/user_variables.yml "
ansible 2.4.3.0
  config file = None
  configured module search path = ['/etc/ansible/roles/plugins/library']
  ansible python module location = /opt/ansible-runtime/lib/python3.5/site-packages/ansible
  executable location = /opt/ansible-runtime/bin/ansible
  python version = 3.5.2 (default, Nov 23 2017, 16:37:01) [GCC 5.4.0 20160609]
No config file found; using defaults
setting up inventory plugins
Parsed /opt/openstack-ansible/inventory/dynamic_inventory.py inventory source with script plugin
Parsed /etc/openstack_deploy/inventory.ini inventory source with ini plugin
Loading callback plugin minimal of type stdout, v2.0 from /opt/ansible-runtime/lib/python3.5/site-packages/ansible/plugins/callback/minimal.py
META: ran handlers
infra1 | FAILED! => {
    "msg": "the field 'args' has an invalid value (15), and could not be converted to an dict.The error was: 'infra1' is not in list\nexception type: <class 'ValueError'>\nexception: 'infra1' is not in list"
}

Another try:

infra1 | FAILED! => {
    "msg": "the field 'args' has an invalid value ([]), and could not be converted to an dict.The error was: 'infra1' is not in list\nexception type: <class 'ValueError'>\nexception: 'infra1' is not in list"
}