Skip to content
This repository has been archived by the owner on Jul 8, 2024. It is now read-only.

Commit

Permalink
Use the right name of variable
Browse files Browse the repository at this point in the history
  • Loading branch information
enolfc committed Oct 19, 2023
1 parent 59cfde3 commit e28c472
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tasks/cloud-info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
- name: Cloud info cron
ansible.builtin.cron:
name: cloud-info-provider {{ site.gocdb }}

Check warning on line 16 in tasks/cloud-info.yml

View workflow job for this annotation

GitHub Actions / Runs molecule for the ansible role

jinja[spacing]

Jinja2 spacing could be improved: {{ cloud_info_cron.weekday}} -> {{ cloud_info_cron.weekday }}
weekday: "{{ cron.weekday}}"
minute: "{{ cron.minute }}"
hour: "{{ cron.hour }}"
weekday: "{{ cloud_info_cron.weekday}}"
minute: "{{ cloud_info_cron.minute }}"
hour: "{{ cloud_info_cron.hour }}"
user: root
job: >
flock -n -w {{ cron.timeout }} /var/lock/cloud-info/{{ filename }}
flock -n -w {{ cloud_info_cron.timeout }} /var/lock/cloud-info/{{ filename }}
docker run --rm -v /etc/egi:/etc/egi:ro
--env-file /etc/egi/cloud-info/{{ filename }}.env
{{ cloud_info_image }} >> /var/log/cloud-info/{{ filename }}.log 2>&1
Expand Down

0 comments on commit e28c472

Please sign in to comment.