aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/moon
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/moon')
-rwxr-xr-xplugins/moon/roles/moon/handlers/main.yml6
1 files changed, 1 insertions, 5 deletions
diff --git a/plugins/moon/roles/moon/handlers/main.yml b/plugins/moon/roles/moon/handlers/main.yml
index ab2a090b..5029d378 100755
--- a/plugins/moon/roles/moon/handlers/main.yml
+++ b/plugins/moon/roles/moon/handlers/main.yml
@@ -7,9 +7,5 @@
##############################################################################
---
- name: restart network service
- shell: "ifconfig eth0 down && ifconfig eth0 up && \
- /sbin/ifdown -a && \
+ shell: "ifconfig eth0 0 && /sbin/ifdown -a && \
/sbin/ifup --ignore-errors -a"
-
-- name: restart nfs service
- service: name=nfs-kernel-server state=restarted