Sha256: d18466c080916851fe855e7c2390b66d1aa53b4e31c4a63decfea6884364b098

Contents?: true

Size: 707 Bytes

Versions: 11

Compression:

Stored size: 707 Bytes

Contents

---
  - set_fact: delayed_job_installed="true"

  - name: Install systemd delayed_job script
    become: true
    vars:
      job_queue: "{{ item }}"
      loop_index: "{{ loop_index }}"
    template:
      src: delayed-job-systemd.service
      dest: /etc/systemd/system/delayed_job_{{ item }}{{ loop_index }}.service
    loop: "{{ job_queues }}"
    loop_control:
      index_var: loop_index
      loop_var: item

  - name: Enable systemd delayed_job service
    become: true
    systemd:
      name: "delayed_job_{{ item }}{{ loop_index }}"
      daemon_reload: true
      enabled: yes
      state: started
    loop: "{{ job_queues }}"
    loop_control:
      loop_var: item
      index_var: loop_index

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
subspace-3.0.13 ansible/roles/delayed_job/tasks/main.yml
subspace-3.0.12 ansible/roles/delayed_job/tasks/main.yml
subspace-3.0.11 ansible/roles/delayed_job/tasks/main.yml
subspace-3.0.10 ansible/roles/delayed_job/tasks/main.yml
subspace-3.0.9 ansible/roles/delayed_job/tasks/main.yml
subspace-3.0.6 ansible/roles/delayed_job/tasks/main.yml
subspace-3.0.5 ansible/roles/delayed_job/tasks/main.yml
subspace-3.0.4 ansible/roles/delayed_job/tasks/main.yml
subspace-3.0.3 ansible/roles/delayed_job/tasks/main.yml
subspace-3.0.2 ansible/roles/delayed_job/tasks/main.yml
subspace-3.0.0 ansible/roles/delayed_job/tasks/main.yml