Hi,

I have a same issue.

Version:
ansible 
--version                                                                       
                                                                            
16:21:55  ✔ 0
/usr/lib64/python2.6/site-packages/Crypto/Util/number.py:57: 
PowmInsecureWarning: Not using mpz_powm_sec.  You should rebuild using 
libgmp >= 5 to avoid timing attack vulnerability.
  _warn("Not using mpz_powm_sec.  You should rebuild using libgmp >= 5 to 
avoid timing attack vulnerability.", PowmInsecureWarning)
ansible 2.0.0.2
  config file =
  configured module search path = Default w/o overrides


Command line
$ ansible-playbook -i hosts playbook.yml -vvv
/usr/lib64/python2.6/site-packages/Crypto/Util/number.py:57: 
PowmInsecureWarning: Not using mpz_powm_sec.  You should rebuild using 
libgmp >= 5 to avoid timing attack vulnerability.
  _warn("Not using mpz_powm_sec.  You should rebuild using libgmp >= 5 to 
avoid timing attack vulnerability.", PowmInsecureWarning)
Using /home_raid1/laurent/dev/AIA/ansible.cfg as config file
1 plays in playbook.yml

PLAY [create aia user] 
*********************************************************

TASK [setup] 
*******************************************************************
<3.249.12.53> ESTABLISH SSH CONNECTION FOR USER: root
<3.249.12.53> SSH: EXEC ssh -C -q -o ControlMaster=auto -o 
ControlPersist=60s -o KbdInteractiveAuthentication=no -o 
PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey 
-o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 -o 
ControlPath=/home_raid1/laurent/.ansible/cp/ansible-ssh-%h-%p-%r -tt 
3.249.12.53 'mkdir -p "$( echo 
/tmp/ansible/$USER/ansible-tmp-1454599171.43-1430744300902 )" && echo "$( 
echo /tmp/ansible/$USER/ansible-tmp-1454599171.43-1430744300902 )"'
fatal: [rubis]: UNREACHABLE! => {"changed": false, "msg": "ERROR! 
Authentication or permission failure. In some cases, you may have been able 
to authenticate and did not have permissions on the remote directory. 
Consider changing the remote temp path in ansible.cfg to a path rooted in 
\"/tmp\". Failed command was: mkdir -p \"$( echo 
/tmp/ansible/$USER/ansible-tmp-1454599171.43-1430744300902 )\" && echo \"$( 
echo /tmp/ansible/$USER/ansible-tmp-1454599171.43-1430744300902 )\", exited 
with result 1: Illegal variable name.\r\n", "unreachable": true}

PLAY RECAP 
*********************************************************************
rubis                      : ok=0    changed=0    unreachable=1    failed=0


Playbook:
- name: "create aia user"
  hosts: "rubis"
  user: "root"
  roles:
    - user

Role:
- name: create {{new_user}} user
  user:
    name: "{{new_user}}"
    password: "{{ password }}"
    comment: "specific aia user"
    group: "awuser"
    shell: "/bin/tcsh"
    groups: "awuser,iaa-v3d,sdc"
    append: "yes"
    state: "present"

- name: add cshrc files
  template: src=.AWArc
            dest=/home/{{new_user}}/.AWArc
  template: src=.cshrc
            dest=/home/{{new_user}}/.cshrc
  template: src=.cshrc.atria
            dest=/home/{{new_user}}/.cshrc.atria



Thanks

-- 
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/70f75027-7d97-43d6-acd7-a7c090ed5cf1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to