Thanks *Andrew latham*

This 
python -c 'import yaml,sys;yaml.safe_load(sys.stdin)' < ansible/playbooks/
apt/sssdconfig.yml
has no output, so I guess syntax is correct.

Thanks Kai Stian Olstad

*-e should be key=value. *
That fixes it*,* thanks
I also did a test changing
- hosts: "{{hosts}}"

into

- hosts: "{{destin}}"

in the yaml and it looks good from this point (I only need to make sure the 
destination machine is switched on)
ansible-playbook  ansible/playbooks/apt/sssdconfig.yml -e destin=cal-30

PLAY [cal-30] 
******************************************************************

TASK [setup] 
*******************************************************************
fatal: [cal-30]: UNREACHABLE! => {"changed": false, "msg": "Failed to 
connect to the host via ssh: ssh: connect to host cal-30 port 22: 
Connection timed out\r\n", "unreachable": true}
    to retry, use: --limit @/home/florence/ansible/playbooks/apt/sssdconfig.
retry

PLAY RECAP 
*********************************************************************
cal-30                     : ok=0    changed=0    unreachable=1    failed=0 
  






-- 
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/1919cc53-8d22-4ef4-96e5-0349c3c10852%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to