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-10.2.0 app/views/foreman_ansible/job_templates/ansible_roles_-_ansible_default.erb
foreman_ansible-10.1.0 app/views/foreman_ansible/job_templates/ansible_roles_-_ansible_default.erb
foreman_ansible-10.0.1 app/views/foreman_ansible/job_templates/ansible_roles_-_ansible_default.erb
foreman_ansible-10.0.0 app/views/foreman_ansible/job_templates/ansible_roles_-_ansible_default.erb
foreman_ansible-7.1.4 app/views/foreman_ansible/job_templates/ansible_roles_-_ansible_default.erb
foreman_ansible-9.0.1 app/views/foreman_ansible/job_templates/ansible_roles_-_ansible_default.erb
foreman_ansible-7.1.3 app/views/foreman_ansible/job_templates/ansible_roles_-_ansible_default.erb
foreman_ansible-9.0.0 app/views/foreman_ansible/job_templates/ansible_roles_-_ansible_default.erb
foreman_ansible-7.1.2 app/views/foreman_ansible/job_templates/ansible_roles_-_ansible_default.erb
foreman_ansible-7.1.1 app/views/foreman_ansible/job_templates/ansible_roles_-_ansible_default.erb
foreman_ansible-8.0.1 app/views/foreman_ansible/job_templates/ansible_roles_-_ansible_default.erb
foreman_ansible-8.0.0 app/views/foreman_ansible/job_templates/ansible_roles_-_ansible_default.erb
foreman_ansible-7.0.4 app/views/foreman_ansible/job_templates/ansible_roles_-_ansible_default.erb
foreman_ansible-7.1.0 app/views/foreman_ansible/job_templates/ansible_roles_-_ansible_default.erb
foreman_ansible-7.0.3 app/views/foreman_ansible/job_templates/ansible_roles_-_ansible_default.erb
foreman_ansible-7.0.2 app/views/foreman_ansible/job_templates/ansible_roles_-_ansible_default.erb
foreman_ansible-7.0.1 app/views/foreman_ansible/job_templates/ansible_roles_-_ansible_default.erb
foreman_ansible-7.0.0 app/views/foreman_ansible/job_templates/ansible_roles_-_ansible_default.erb
foreman_ansible-6.4.1 app/views/foreman_ansible/job_templates/ansible_roles_-_ansible_default.erb
foreman_ansible-6.4.0 app/views/foreman_ansible/job_templates/ansible_roles_-_ansible_default.erb