Sha256: 21832d10f70dd64ae78c88e0187f16945cbc5612db4f564542d8c93263600f54

Contents?: true

Size: 1.02 KB

Versions: 65

Compression:

Stored size: 1.02 KB

Contents

<%#
name: Ansible Collection - Install from Galaxy
job_category: Ansible Galaxy
description_format: Install collections '%{ansible_collections_list}' from Galaxy
snippet: false
template_inputs:
- name: ansible_collections_list
  required: true
  input_type: user
  description: "List of collections in Ansible Galaxy to install, separated by commas, e.g:
    mysql,nginx\r\n\r\nThe default collections_paths is configured in /etc/ansible/ansible.cfg,
    you may override it by filling the 'collections_path' input.
    Click on \"Advanced\" to see it."
  advanced: false
- name: collections_path
  required: false
  input_type: user
  description: A particular directory where you want the downloaded collections to be placed.
  advanced: true
provider_type: Ansible
kind: job_template
model: JobTemplate
%>

---
- hosts: all
  tasks:
    - command: ansible-galaxy collection install <%= input('ansible_collections_list').split(",").join(' ') %> -p <%= input('collections_path').present? ? input('collections_path') : '/etc/ansible/collections' %>

Version data entries

65 entries across 65 versions & 1 rubygems

Version Path
foreman_ansible-15.0.2 app/views/foreman_ansible/job_templates/ansible_collections_-_install_from_galaxy.erb
foreman_ansible-15.0.1 app/views/foreman_ansible/job_templates/ansible_collections_-_install_from_galaxy.erb
foreman_ansible-15.0.0 app/views/foreman_ansible/job_templates/ansible_collections_-_install_from_galaxy.erb
foreman_ansible-14.2.2 app/views/foreman_ansible/job_templates/ansible_collections_-_install_from_galaxy.erb
foreman_ansible-14.2.1 app/views/foreman_ansible/job_templates/ansible_collections_-_install_from_galaxy.erb
foreman_ansible-13.0.7 app/views/foreman_ansible/job_templates/ansible_collections_-_install_from_galaxy.erb
foreman_ansible-14.2.0 app/views/foreman_ansible/job_templates/ansible_collections_-_install_from_galaxy.erb
foreman_ansible-14.1.1 app/views/foreman_ansible/job_templates/ansible_collections_-_install_from_galaxy.erb
foreman_ansible-14.1.0 app/views/foreman_ansible/job_templates/ansible_collections_-_install_from_galaxy.erb
foreman_ansible-13.0.5 app/views/foreman_ansible/job_templates/ansible_collections_-_install_from_galaxy.erb
foreman_ansible-14.0.0 app/views/foreman_ansible/job_templates/ansible_collections_-_install_from_galaxy.erb
foreman_ansible-13.0.4 app/views/foreman_ansible/job_templates/ansible_collections_-_install_from_galaxy.erb
foreman_ansible-13.0.3 app/views/foreman_ansible/job_templates/ansible_collections_-_install_from_galaxy.erb
foreman_ansible-13.0.2 app/views/foreman_ansible/job_templates/ansible_collections_-_install_from_galaxy.erb
foreman_ansible-13.0.1 app/views/foreman_ansible/job_templates/ansible_collections_-_install_from_galaxy.erb
foreman_ansible-13.0.0 app/views/foreman_ansible/job_templates/ansible_collections_-_install_from_galaxy.erb
foreman_ansible-12.0.7 app/views/foreman_ansible/job_templates/ansible_collections_-_install_from_galaxy.erb
foreman_ansible-10.4.4 app/views/foreman_ansible/job_templates/ansible_collections_-_install_from_galaxy.erb
foreman_ansible-7.1.8 app/views/foreman_ansible/job_templates/ansible_collections_-_install_from_galaxy.erb
foreman_ansible-12.0.6 app/views/foreman_ansible/job_templates/ansible_collections_-_install_from_galaxy.erb