Verified Commit 4a87de92 authored by Giancarlo Razzolini's avatar Giancarlo Razzolini
Browse files

roles/security-tracker: Idempotency fix. No need to enable and start a service...

roles/security-tracker: Idempotency fix. No need to enable and start a service when it is started by a timer.
parent 5f7b054f
......@@ -58,8 +58,5 @@
- name: deploy security-tracker
template: src=security-tracker.ini.j2 dest=/etc/uwsgi/vassals/security-tracker.ini owner=security group=http mode=0644
- name: start and enable security-tracker units
service: name="{{ item }}" enabled=yes state=started
with_items:
- security-tracker-update.timer
- security-tracker-update.service
- name: start and enable security-tracker timer
service: name="security-tracker-update.timer" enabled=yes state=started
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment