diff options
author | shuai chen <chenshuai@huawei.com> | 2016-10-25 06:33:25 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2016-10-25 06:33:25 +0000 |
commit | d0c360afa9c61e1b2dde99935510f6ca061920ca (patch) | |
tree | 0c983eb13b07bfab8b50eb394b635645861ac29e /deploy/adapters/ansible/openstack_newton_xenial/roles/glance | |
parent | 6ebd4fddcd9e68d8b9fcc9e8855957909a80a3df (diff) | |
parent | 0d4fc38c569df7a417065fd3094c7477660eb18c (diff) |
Merge "Edit the docker file and adjust HA yml"
Diffstat (limited to 'deploy/adapters/ansible/openstack_newton_xenial/roles/glance')
-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 |