Install ansible galaxy roles

0 votes
How do I automatically install ansible galaxy roles?
Jan 9 in Ansible by Akki
54 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 9 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 in Ansible by William
21 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 in Ansible by Kim
77 views
0 votes
1 answer

Unable to install Ansible on centOS

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

answered Dec 19, 2018 in Ansible by Alan
21 views
0 votes
1 answer

Install Ansible on centOS

Hey @Ali, Installing Ansible is a piece ...READ MORE

answered Jan 8 in Ansible by Kiara
31 views
+13 votes
2 answers
0 votes
1 answer
0 votes
1 answer

Install multiple roles - Ansible

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

answered Jan 9 in Ansible by Rishi
153 views
0 votes
1 answer

where to install Ansible galaxy?

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

answered Jan 28 in Ansible by Kavya
71 views