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 @@ ...@@ -159,22 +159,44 @@
when: ansible_hostname == item.key when: ansible_hostname == item.key
no_log: true no_log: true
- name: enable Stichprobe Services #- name: enable Stichprobe Services
command: "systemctl enable /etc/systemd/user/stichprobe-daily-report.service" # noqa 303 # 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) }}" loop: "{{ lookup('dict', vault_stichprobe_hosts) }}"
when: ansible_hostname == item.key when: ansible_hostname == item.key
no_log: true no_log: true
ignore_errors: "yes"
- name: enable Stichprobe Timers - name: disable Stichprobe Timers
command: "systemctl enable /etc/systemd/user/stichprobe-daily-report.timer" # noqa 303 command: "systemctl disable /etc/systemd/user/stichprobe-daily-report.timer"
loop: "{{ lookup('dict', vault_stichprobe_hosts) }}" loop: "{{ lookup('dict', vault_stichprobe_hosts) }}"
when: ansible_hostname == item.key when: ansible_hostname == item.key
no_log: true no_log: true
ignore_errors: "yes"
- name: restart Stichprobe Timers - name: stop running Stichprobe Timers
systemd: systemd:
name: "stichprobe-daily-report.timer" name: "stichprobe-daily-report.timer"
state: restarted state: stopped
loop: "{{ lookup('dict', vault_stichprobe_hosts) }}" loop: "{{ lookup('dict', vault_stichprobe_hosts) }}"
when: ansible_hostname == item.key 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