Sha256: 2feec22441a5c39aedab0b39c04421c5fe98e514ff645479fce6f0d6c0b07675

Contents?: true

Size: 566 Bytes

Versions: 60

Compression:

Stored size: 566 Bytes

Contents

<%#
name: Ansible Roles - Ansible Default
job_category: Ansible Playbook
description_format: Run Ansible roles
feature: ansible_run_host
snippet: false
provider_type: Ansible
kind: job_template
model: JobTemplate
%>

---
- hosts: all
  pre_tasks:
    - name: Display all parameters known for the Foreman host
      debug:
        var: foreman
      tags:
        - always
  tasks:
    - name: Apply roles
      include_role:
        name: "{{ role }}"
      tags:
        - always
      loop: "{{ foreman_ansible_roles }}"
      loop_control:
        loop_var: role

Version data entries

60 entries across 60 versions & 1 rubygems

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