diff options
author | 2016-10-20 10:41:59 +0800 | |
---|---|---|
committer | 2016-10-24 18:13:05 +0800 | |
commit | 0d4fc38c569df7a417065fd3094c7477660eb18c (patch) | |
tree | de52d7599384fe3512499bd762fdb6bafc67d831 /deploy/adapters/ansible/openstack_newton_xenial/roles/glance/tasks/nfs.yml | |
parent | 56a4f21b81b4273e5e5802caa8ed8351119002d4 (diff) |
Edit the docker file and adjust HA yml
JIRA: COMPASS-491
Change-Id: Ibca46dca0ca614b9a6e7eb3fe5b9d5c8ca26c006
Signed-off-by: liyuenan <liyuenan@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/openstack_newton_xenial/roles/glance/tasks/nfs.yml')
-rw-r--r-- | deploy/adapters/ansible/openstack_newton_xenial/roles/glance/tasks/nfs.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/openstack_newton_xenial/roles/glance/tasks/nfs.yml b/deploy/adapters/ansible/openstack_newton_xenial/roles/glance/tasks/nfs.yml index 07dfacdd..1d13bfe7 100644 --- a/deploy/adapters/ansible/openstack_newton_xenial/roles/glance/tasks/nfs.yml +++ b/deploy/adapters/ansible/openstack_newton_xenial/roles/glance/tasks/nfs.yml @@ -42,10 +42,14 @@ - name: get mount info command: mount register: mount_info + tags: + - recovery - name: get nfs server shell: awk -F'=' '/compass_server/ {print $2}' /etc/compass.conf register: ip_info + tags: + - recovery - name: restart host nfs service service: name={{ item }} state=restarted enabled=yes @@ -59,3 +63,5 @@ when: mount_info.stdout.find('images') == -1 retries: 5 delay: 3 + tags: + - recovery |