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