Sha256: a36fd9b82ff551dfc9eb73b7aaded970fbec823e0464420007c3b0a0f5f9f8ca
Contents?: true
Size: 1.01 KB
Versions: 66
Compression:
Stored size: 1.01 KB
Contents
<%# name: Ansible Roles - Install from Galaxy job_category: Ansible Galaxy description_format: Install roles '%{ansible_roles_list}' from Galaxy snippet: false template_inputs: - name: ansible_roles_list required: true input_type: user description: "List of roles in Ansible Galaxy to install, separated by commas, e.g: \"mysql, nginx\"\r\n\r\nThe default location is the 'roles_path' configured on /etc/ansible/ansible.cfg, you may override it by filling the 'location' input. Click on \"Advanced\" to see it." advanced: false - name: location required: false input_type: user description: A particular directory where you want the downloaded roles to be placed. advanced: true provider_type: Ansible kind: job_template model: JobTemplate %> --- - hosts: all tasks: - command: ansible-galaxy install {{ item }} -p <%= input('location').present? ? input('location') : '/etc/ansible/roles' %> register: out with_items: - <%= input('ansible_roles_list') %> - debug: var=out
Version data entries
66 entries across 66 versions & 1 rubygems