Install ansible galaxy roles

0 votes
How do I automatically install ansible galaxy roles?
Jan 10, 2019 in Ansible by Akki
806 views

1 answer to this question.

0 votes

Here is a very basic example that runs ansible-galaxy install:

- name: install roles
  command: ansible-galaxy install {{ item.item }}
  with_items:
    - "{{ ansible_roles_list }}"

or

Use the ansible-galaxy command to download roles from the Galaxy website

$ ansible-galaxy install username.role_name
answered Jan 10, 2019 by Disha

Related Questions In Ansible

0 votes
1 answer

How do i automatically install galaxy roles?

You should use a requirements.yml file for this use-case. ...READ MORE

answered Mar 12, 2019 in Ansible by William
932 views
0 votes
1 answer

Run bundle install inside rvm - Ansible roles

Example config installing ruby system-wide ripped right ...READ MORE

answered Mar 13, 2019 in Ansible by Kim
2,098 views
0 votes
1 answer

Unable to install Ansible on centOS

Seems like you're stuck at creating ansible ...READ MORE

answered Dec 20, 2018 in Ansible by Alan
695 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,041 views
+2 votes
1 answer
0 votes
1 answer

Install multiple roles - Ansible

You'll need a requirements.yaml file which will ...READ MORE

answered Jan 10, 2019 in Ansible by Rishi
2,135 views
0 votes
1 answer

where to install Ansible galaxy?

Hey Gayatri, This can be done with ...READ MORE

answered Jan 29, 2019 in Ansible by Kavya
790 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP