Sha256: 42c4b9ab2ecd5a0ac54040c4c3d9e5729f849662245276c14dd4f4f4c1f7469c

Contents?: true

Size: 828 Bytes

Versions: 51

Compression:

Stored size: 828 Bytes

Contents

<%#
name: Ansible Roles - Install from git
job_category: Ansible Roles Installation
description_format: Clone roles from git repository to %{location}
snippet: false
template_inputs:
- name: git_repository
  required: true
  input_type: user
  description: "URL to the git repository containing the roles, e.g:\r\nhttps://github.com/theforeman/foreman_role_1"
  advanced: false
- name: location
  required: true
  input_type: user
  description: For example, '/etc/ansible/roles/foobar' . Look at '/etc/ansible/ansible.cfg'
    roles_path option to find what is your roles_path
  advanced: false
provider_type: Ansible
kind: job_template
model: JobTemplate
%>

---
- hosts: all
  tasks:
    - git:
        repo: "<%= input('git_repository') %>"
        dest: "<%= input('location') %>"
      register: out

    - debug: var=out

Version data entries

51 entries across 51 versions & 1 rubygems

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