agrant@mgmt:/vagrant$ ansible-playbook e45-ssh-addkey.yml  -vvvvv
Using /vagrant/ansible.cfg as config file
ERROR! Unexpected Exception: dictionary update sequence element #0 has 
length 3; 2 is required
the full traceback was:

Traceback (most recent call last):
  File "/usr/bin/ansible-playbook", line 92, in <module>
    exit_code = cli.run()
  File "/usr/lib/python2.7/dist-packages/ansible/cli/playbook.py", line 
132, in run
    inventory = Inventory(loader=loader, variable_manager=variable_manager, 
host_list=self.options.inventory)
  File "/usr/lib/python2.7/dist-packages/ansible/inventory/__init__.py", 
line 92, in __init__
    self.parse_inventory(host_list)
  File "/usr/lib/python2.7/dist-packages/ansible/inventory/__init__.py", 
line 159, in parse_inventory
    group.vars = combine_vars(group.vars, 
self.get_group_variables(group.name))
  File "/usr/lib/python2.7/dist-packages/ansible/inventory/__init__.py", 
line 527, in get_group_variables
    self._vars_per_group[groupname] = self._get_group_variables(groupname, 
vault_password=vault_password)
  File "/usr/lib/python2.7/dist-packages/ansible/inventory/__init__.py", 
line 545, in _get_group_variables
    vars = combine_vars(vars, self.get_group_vars(group))
  File "/usr/lib/python2.7/dist-packages/ansible/inventory/__init__.py", 
line 727, in get_group_vars
    return self._get_hostgroup_vars(host=None, group=group, 
new_pb_basedir=new_pb_basedir, return_results=return_results)
  File "/usr/lib/python2.7/dist-packages/ansible/inventory/__init__.py", 
line 788, in _get_hostgroup_vars
    host_results = self._variable_manager.add_group_vars_file(base_path, 
self._loader)
  File "/usr/lib/python2.7/dist-packages/ansible/vars/__init__.py", line 
616, in add_group_vars_file
    data = self._load_inventory_file(path, loader)
  File "/usr/lib/python2.7/dist-packages/ansible/vars/__init__.py", line 
574, in _load_inventory_file
    rval.update(data)
ValueError: dictionary update sequence element #0 has length 3; 2 is 
required

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/185301f8-a743-4242-b015-3aea5228e70d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to