First, make sure you are running a recent version of Ansible. 1.7.1 is the latest.
Occasionally the "you didn't supply a sudo password / you supplied a wrong sudo password" on a particular OS detection isn't perfect. If you are using sudo, and need a password, be sure to supply --ask-sudo-pass. It sounds like you're having a traceback though. Is that all of the output that came back? Can you paste the rest of the playbook run so we can tell for sure? On Thu, Aug 14, 2014 at 11:49 PM, <[email protected]> wrote: > I am new to Ansible and trying to setup Jenkins via ansible playbook. > Below is the snippet from the mail.yml file used. > > rpm_key: state=present key=/shared/temp/jenkins-ci.org.key > > main.yml > ######## > --- > - name: Download Jenkins from Repo > shell: wget -O /etc/yum.repos.d/jenkins.repo > http://pkg.jenkins-ci.org/redhat/jenkins.repo > sudo: True > > - name: Install Jenkins repo key > rpm_key: state=present key= > http://pkg.jenkins-ci.org/redhat/jenkins-ci.org.key > sudo= True > > - name: Install Jenkins > yum: name=jenkins > > Below error is been thrown . > > > fatal: [xxxxxxx.xxxx.xxxxxxx.com] => failed to parse: [sudo via ansible, > key=cnjquzfbhptiechwjbsffatgzkgnkgcp] password: > > > Kindly suggest as how to resolve the issue. > > -Vinay > > -- > 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/9c20ecb9-45a5-4e09-ae09-36a0117d88b5%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/9c20ecb9-45a5-4e09-ae09-36a0117d88b5%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CA%2BnsWgxUeXmcwn9AJdsawntFhb%3DpX6CidAPa_OioRiErGisN6g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
