can not execute the Debug request

(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
   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: []

TASK [Add node to director] **********************************************************************************************************************************
fatal: [ ->;]: FAILED! =>; {"changed": false, "failed": true, "module_stderr": "Shared connection to closed.\r\n", "module_stdout": "Traceback (most recent c
all last):\r\n File \"/tmp/ansible_ecmjA3/\", line 498, in <module>\r\n main()\r\n File \"/tmp/ansible_ecmjA3/\", 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 ************************************************************************************************************************************ : ok=9 ;changed=4 ;unreachable=0 ;failed=1 : ok=2 ;changed=1 ;unreachable=0 ;failed=0
(Nicolai) #2

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