Ansible – Post – 13 – Ansible Galaxy

Spread the love

 

 

Ansible - Post - 13 – Ansible Galaxy:

In this blog post, we will see how to use ansible galaxy to install git software in our target servers.

Go​​ to​​ https://galaxy.ansible.com, search for​​ the​​ git software , there you can see lot of packages created by ansible users, select one of them based on your requirement, go through the read me page to understand more about that package.​​ 

 

 

 

 

Use the ansible-galaxy command to install that role​​ in the acs server,

 

 

 

 

 

Create a​​ yml file which will install the role,​​ 

 

main.yml

---

- hosts: webservers

 ​​​​ sudo: yes

 ​​​​ roles:

 ​​ ​​​​ - geerlingguy.git

 

 

Thanks for viewing the post,​​ 

please post your comments below.

Please Like & Follow us on Facebook & Twitter,

https://www.facebook.com/gadoth/

https://www.twitter.com/GadothDA/

 

Related posts

Leave a Comment