I had working playbooks that work with agent forwarding.

I upgraded to ansible 2.1 and I seem not to be able to get agent forwarding 
to work.


//inventory

[machines]

machine[07:07]

//main.yml

---

- name: Create group

  hosts: machine

  - name: "Add '{{system_group}}' group"

    group: name={{system_group}} state=present

    become: yes

//ansible.cfg

[defaults]

inventory = ./inventory

roles_path = ./roles

host_key_checking = False

ask_sudo_pass = False

retry_files_enabled=False

sudo_flags=-HE


[ssh_connection]

ssh_args=-o ForwardAgent=yes -o ControlPersist=60m -o ControlMaster=auto -o 
ControlPath=/tmp/ansible-ssh-%h-%p-%r

scp_if_ssh=True

pipelining=True


Anyone who can help?

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/187833b4-06ca-4c48-ac82-3c028ea8707e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to