Skip to content

Commit

Permalink
mount docker.sock file
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikita Dugar committed Sep 27, 2019
1 parent 21ba2b7 commit 7c771e3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
Ansible Role Docker Jenkins
</h1>

<p align="center" style="font-size: 1.2rem;">
<p align="center" style="font-size: 1.2rem;">
This ansible role is used to install Jenkins with docker on server.
</p>

Expand Down Expand Up @@ -48,15 +48,15 @@



We eat, drink, sleep and most importantly love **DevOps**. DevOps always promotes automation and standardisation. While setting up various environments like local, dev, testing, production, etc. it is critical to maintain the same environment across. This can easily be achieved using automating the environment setup & installation with the help of ansible-playbooks.
We eat, drink, sleep and most importantly love **DevOps**. DevOps always promotes automation and standardisation. While setting up various environments like local, dev, testing, production, etc. it is critical to maintain the same environment across. This can easily be achieved using automating the environment setup & installation with the help of ansible-playbooks.

Smaller roles are created for each environment elements; which also include tasks & tests. These roles can then be grouped together in [ansible-playbook](https://docs.ansible.com/ansible/latest/user_guide/playbooks_intro.html) to achieve the desired yet consistent results.



## Prerequisites

This module has a few dependencies:
This module has a few dependencies:

- [Ansible2.8](https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html)
- [Python](https://www.python.org/downloads)
Expand Down Expand Up @@ -127,7 +127,7 @@ Followiing things includes in this role:



## Feedback
## Feedback
If you come accross a bug or have any feedback, please log it in our [issue tracker](https://github.com/clouddrove/ansible-role-docker-jenkins/issues), or feel free to drop us an email at [hello@clouddrove.com](mailto:hello@clouddrove.com).

If you have found it worth your time, go ahead and give us a ★ on [our GitHub](https://github.com/clouddrove/ansible-role-docker-jenkins)!
Expand All @@ -145,4 +145,4 @@ At [CloudDrove][website], we offer expert guidance, implementation support and s
[linkedin]: https://cpco.io/linkedin
[twitter]: https://twitter.com/clouddrove/
[email]: https://clouddrove.com/contact-us.html
[terraform_modules]: https://github.com/clouddrove?utf8=%E2%9C%93&q=terraform-&type=&language=
[terraform_modules]: https://github.com/clouddrove?utf8=%E2%9C%93&q=terraform-&type=&language=
1 change: 1 addition & 0 deletions templates/jenkins
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ docker run -u root --net=host --rm --name jenkins \
-v "{{ jenkins_data_dir }}":/var/jenkins_home:rw \
-v "{{ jenkins_config_dir }}":/root/config \
-v "{{ jenkins_tmp_dir }}":/tmp/jenkins \
-v /var/run/docker.sock:/var/run/docker.sock \
jenkins/jenkins:{{ jenkins_version }}

0 comments on commit 7c771e3

Please sign in to comment.