ansible-jenkins | Ansible role to install and fully configure | Continuous Deployment library
kandi X-RAY | ansible-jenkins Summary
kandi X-RAY | ansible-jenkins Summary
Installs and completely configures Jenkins using Ansible. This role is used when you want all your Jenkins configuration in version control so you can deploy Jenkins repeatably and reliably and you can treat your Jenkins as a [Cow instead of a Pet] If you are looking for a role to install Jenkins and you want to configure everything through the web interface and you don’t care about being able to repeatably deploy this same fully-configured Jenkins, then you don’t need this role. Instead, have a look at the [geerlingguy/ansible-role-jenkins] role instead.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ansible-jenkins
ansible-jenkins Key Features
ansible-jenkins Examples and Code Snippets
Community Discussions
Trending Discussions on ansible-jenkins
QUESTION
I am trying to use the jenkins_job module in Ansible and it keeps throwing up the error Unable to create job, Unicode strings with encoding declaration are not supported. Please use bytes input or XML fragments without declaration.
I trigger this error with the following task that lives in a file tasks/add_job.yml called by main.yml:
...ANSWER
Answered 2017-Jun-27 at 13:49It turns out it was the ansible_python_interpreter which was set to /usr/bin/python3
in my hosts inventory. When I set it to /usr/bin/python
the problem disappeared. Yay....
...Except that was only half the story. When I destroyed and recreated my VM it failed on the first step as the Ubuntu 16.04LTS does not have /usr/bin/python
it only has /usr/bin/python3
.
I didn't want to create symlinks or do virtenv stuff...so I just set the ansible_python_interpreter to /usr/bin/python
after I installed python2-dev apt package but before I ran the jenkins_script module. Then I set it back again after running my scripts.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ansible-jenkins
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page