can not execute the Debug request

director
(lylyHannah) #1

The two lines I have now deactivated but become again a fatal message and he can not execute the Debug request. The server running the playbook is the smt1 and the server ase5 is the one I add.

The Ansible version used is:

ansible --version
ansible 2.4.1.0
   config file = /etc/ansible/ansible.cfg
   configured module search path = [u '/ home / ansible / .ansible / plugins / modules', u '/ usr / share / ansible / plugins / modules']
   ansible python module location = /usr/lib/python2.7/site-packages/ansible
   executable location = / usr / bin / ansible
   python version = 2.7.13 (default, Jan 11 2017, 10:56:06) [GCC]

And the Last Lines from Ansilbe output:

....
TASK [Disable icinga2.conf conf.d] **********************************************************************************************************************************
ok: [ase5.mgmt.xyz.de]

TASK [Add node to director] **********************************************************************************************************************************
fatal: [ase5.mgmt.xyz.de ->; smt1.mgmt.xyz.de]: FAILED! =>; {"changed": false, "failed": true, "module_stderr": "Shared connection to smt1.mgmt.xyz.de closed.\r\n", "module_stdout": "Traceback (most recent c
all last):\r\n File \"/tmp/ansible_ecmjA3/ansible_module_uri.py\", line 498, in <module>\r\n main()\r\n File \"/tmp/ansible_ecmjA3/ansible_module_uri.py\", line 409, in main\r\n  lower_header_keys = [key.lower() for key in dict_headers]\r\nTypeError: 'NoneType' object is not iterable\r\n", "msg": "MODULE FAILURE", "rc": 0} ;to retry, use: --limit @/home/ansible/playbooks/icinga2_install_agent-pb/icinga2_install_agent-pb.retry

PLAY RECAP ************************************************************************************************************************************
ase5.mgmt.xyz.de : ok=9 ;changed=4 ;unreachable=0 ;failed=1
icinga2.mgmt.xyz.de : ok=2 ;changed=1 ;unreachable=0 ;failed=0
(Nicolai) #2

Please show the related lines of your playbook (spare the credentials).