the answer was to add the user to the ssh group and set the shell

- name: Add jenkins user
  user: name=jenkins comment=Jenkins password=foobar 
groups=com.apple.access_ssh shell=/bin/bash
  sudo: yes

-- 
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/1314d578-3597-4244-9f49-9c8defb1869f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to