summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--deploy/adapters/ansible/roles/post-openstack/tasks/main.yml6
-rwxr-xr-xplugins/moon/roles/moon/handlers/main.yml3
2 files changed, 2 insertions, 7 deletions
diff --git a/deploy/adapters/ansible/roles/post-openstack/tasks/main.yml b/deploy/adapters/ansible/roles/post-openstack/tasks/main.yml
index 2ea325e6..10d8f727 100644
--- a/deploy/adapters/ansible/roles/post-openstack/tasks/main.yml
+++ b/deploy/adapters/ansible/roles/post-openstack/tasks/main.yml
@@ -39,9 +39,3 @@
dest: /opt/openrc
regexp: "internalURL"
replace: "publicURL"
-
-- name: replace Default with default in openrc
- replace:
- dest: /opt/openrc
- regexp: "Default"
- replace: "default"
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