Skip to content

Instantly share code, notes, and snippets.

@sm4rk0
Created October 11, 2017 16:01
Show Gist options
  • Save sm4rk0/1d1a09a34bfdf4764ecb4c4443a27098 to your computer and use it in GitHub Desktop.
Save sm4rk0/1d1a09a34bfdf4764ecb4c4443a27098 to your computer and use it in GitHub Desktop.
ansible-playbook 2.5.0 (devel 97d5e0d027) last updated 2017/10/11 16:43:39 (GMT +200)
config file = /etc/ansible/ansible.cfg
configured module search path = [u'/home/administrator/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
ansible python module location = /home/administrator/ansible-devel/lib/ansible
executable location = /home/administrator/ansible-devel/bin/ansible-playbook
python version = 2.6.6 (r266:84292, Aug 18 2016, 15:13:37) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]
Using /etc/ansible/ansible.cfg as config file
[WARNING]: Plugin name: memory
[WARNING]: Plugin name: host_list
[WARNING]: Plugin name: script
[WARNING]: Plugin name: yaml
[WARNING]: Plugin name: ini
[WARNING]: Unable to parse /etc/ansible/hosts as an inventory source
[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: Could not match supplied host pattern, ignoring: all
[WARNING]: provided hosts list is empty, only localhost is available
[WARNING]: Plugin name: debug
[WARNING]: Plugin name: delegate_to
[WARNING]: Plugin name: with_items
[WARNING]: Plugin name: items
[DEPRECATION WARNING]: with_ type loops are being phased out, use the 'loop' keyword instead. This feature will be removed in version 2.9. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
[WARNING]: Plugin name: default
PLAYBOOK: test-30464.yml ********************************************************************************************************************************************************************************************************************
1 plays in test-30464.yml
PLAY [localhost] ****************************************************************************************************************************************************************************************************************************
[WARNING]: Plugin name: linear
[WARNING]: Plugin name: meta
[WARNING]: Plugin name: setup
TASK [Gathering Facts] **********************************************************************************************************************************************************************************************************************
Wednesday 11 October 2017 17:59:10 +0200 (0:00:00.109) 0:00:00.109 *****
[WARNING]: Plugin name: local
[WARNING]: Plugin name: sh
[WARNING]: Plugin name: normal
Using module file /home/administrator/ansible-devel/lib/ansible/modules/system/setup.py
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: administrator
<127.0.0.1> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
ok: [localhost]
META: ran handlers
[WARNING]: Plugin name: [u'one']
ERROR! Unexpected Exception, this is probably a bug: unhashable type: 'AnsibleSequence'
the full traceback was:
Traceback (most recent call last):
File "/home/administrator/ansible-devel/bin/ansible-playbook", line 109, in <module>
exit_code = cli.run()
File "/home/administrator/ansible-devel/lib/ansible/cli/playbook.py", line 130, in run
results = pbex.run()
File "/home/administrator/ansible-devel/lib/ansible/executor/playbook_executor.py", line 154, in run
result = self._tqm.run(play=play)
File "/home/administrator/ansible-devel/lib/ansible/executor/task_queue_manager.py", line 302, in run
play_return = strategy.run(iterator, play_context)
File "/home/administrator/ansible-devel/lib/ansible/plugins/strategy/linear.py", line 248, in run
task_vars = self._variable_manager.get_vars(play=iterator._play, host=host, task=task)
File "/home/administrator/ansible-devel/lib/ansible/vars/manager.py", line 457, in get_vars
all_vars['ansible_delegated_vars'] = self._get_delegated_vars(play, task, all_vars)
File "/home/administrator/ansible-devel/lib/ansible/vars/manager.py", line 523, in _get_delegated_vars
if task.loop in lookup_loader:
File "/home/administrator/ansible-devel/lib/ansible/plugins/loader.py", line 325, in has_plugin
return self.find_plugin(name) is not None
File "/home/administrator/ansible-devel/lib/ansible/plugins/loader.py", line 256, in find_plugin
return pull_cache[name]
TypeError: unhashable type: 'AnsibleSequence'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment