Skip to content
Snippets Groups Projects
Commit 62ef9dfe authored by Jens Steidl's avatar Jens Steidl :baby_chick:
Browse files

chore: disabled Stichprobe

parent 4ac3aa9d
No related branches found
No related tags found
No related merge requests found
......@@ -159,22 +159,44 @@
when: ansible_hostname == item.key
no_log: true
- name: enable Stichprobe Services
command: "systemctl enable /etc/systemd/user/stichprobe-daily-report.service" # noqa 303
#- name: enable Stichprobe Services
# command: "systemctl enable /etc/systemd/user/stichprobe-daily-report.service" # noqa 303
# loop: "{{ lookup('dict', vault_stichprobe_hosts) }}"
# when: ansible_hostname == item.key
# no_log: true
#
#- name: enable Stichprobe Timers
# command: "systemctl enable /etc/systemd/user/stichprobe-daily-report.timer" # noqa 303
# loop: "{{ lookup('dict', vault_stichprobe_hosts) }}"
# when: ansible_hostname == item.key
# no_log: true
#
#- name: restart Stichprobe Timers
# systemd:
# name: "stichprobe-daily-report.timer"
# state: restarted
# loop: "{{ lookup('dict', vault_stichprobe_hosts) }}"
# when: ansible_hostname == item.key
# ignore_errors: "yes"
# WORKAROUND: stopped until storage migration complete
- name: disable Stichprobe Services
command: "systemctl disable /etc/systemd/user/stichprobe-daily-report.service"
loop: "{{ lookup('dict', vault_stichprobe_hosts) }}"
when: ansible_hostname == item.key
no_log: true
- name: enable Stichprobe Timers
command: "systemctl enable /etc/systemd/user/stichprobe-daily-report.timer" # noqa 303
ignore_errors: "yes"
- name: disable Stichprobe Timers
command: "systemctl disable /etc/systemd/user/stichprobe-daily-report.timer"
loop: "{{ lookup('dict', vault_stichprobe_hosts) }}"
when: ansible_hostname == item.key
no_log: true
- name: restart Stichprobe Timers
ignore_errors: "yes"
- name: stop running Stichprobe Timers
systemd:
name: "stichprobe-daily-report.timer"
state: restarted
state: stopped
loop: "{{ lookup('dict', vault_stichprobe_hosts) }}"
when: ansible_hostname == item.key
ignore_errors: "yes"
ignore_errors: "yes"
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment