journalwatch: ssh
[ansible.git] / roles / apache / tasks / main.yml
index 6fb5b54d85ad107154816c238b1aa73bf47f8d2e..95bf531cd0444cb5613fe84db8944ccc27febc9c 100644 (file)
@@ -67,6 +67,9 @@
     content: |
       [Unit]
       After=network-online.target
     content: |
       [Unit]
       After=network-online.target
+      Wants=network-online.target
+      [Service]
+      Restart=on-failure
 - name: sysconfig to disable DAD
   copy:
     dest: /etc/sysctl.d/50-no-dad.conf
 - name: sysconfig to disable DAD
   copy:
     dest: /etc/sysctl.d/50-no-dad.conf