From: Ralf Jung Date: Fri, 10 Aug 2018 11:12:00 +0000 (+0200) Subject: remove cleanup task X-Git-Url: https://git.ralfj.de/ansible.git/commitdiff_plain/7549683aeb30f4927296b88e444be25d92d7af18?hp=5b0ee7c4c8d8df834da1e4a4d2f1d6b34c002dda remove cleanup task --- diff --git a/roles/apache/tasks/main.yml b/roles/apache/tasks/main.yml index 5943499..6fb5b54 100644 --- a/roles/apache/tasks/main.yml +++ b/roles/apache/tasks/main.yml @@ -73,9 +73,3 @@ content: | # Disable DAD so network-online.target works for IPv6 net.ipv6.conf.all.accept_dad=0 -- name: cleanup cronjob to fix apache startup - cron: - name: "apache2-start-fix" - minute: "*/5" - job: "if systemctl is-failed apache2 >/dev/null; then echo 'restarting apache'; systemctl restart apache2; fi" - state: absent