aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/moon/roles
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/moon/roles')
-rwxr-xr-xplugins/moon/roles/moon/handlers/main.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/moon/roles/moon/handlers/main.yml b/plugins/moon/roles/moon/handlers/main.yml
index 809b1ef3..ab2a090b 100755
--- a/plugins/moon/roles/moon/handlers/main.yml
+++ b/plugins/moon/roles/moon/handlers/main.yml
@@ -7,7 +7,8 @@
##############################################################################
---
- name: restart network service
- shell: "/sbin/ifdown -a && \
+ shell: "ifconfig eth0 down && ifconfig eth0 up && \
+ /sbin/ifdown -a && \
/sbin/ifup --ignore-errors -a"
- name: restart nfs service