aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/glance/tasks
diff options
context:
space:
mode:
authorbaigk <baiguoku@huawei.com>2015-12-18 14:48:26 +0800
committerbaigk <baiguoku@huawei.com>2015-12-22 04:57:11 +0000
commit5e3b598f5999a7ab6d49cb294d8e5514003ae20c (patch)
tree0bfaf0a566c523380aeaa7e255e0e26103e92e6c /deploy/adapters/ansible/roles/glance/tasks
parent8375e207ff0e79abe1db56733c9b4da433fc7791 (diff)
install compass-core in centos7
JIRA: COMPASS-208 Change-Id: Ie98615df37115beaa0ad8f744cc87162452af751 Signed-off-by: baigk <baiguoku@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles/glance/tasks')
-rw-r--r--deploy/adapters/ansible/roles/glance/tasks/nfs.yml11
1 files changed, 5 insertions, 6 deletions
diff --git a/deploy/adapters/ansible/roles/glance/tasks/nfs.yml b/deploy/adapters/ansible/roles/glance/tasks/nfs.yml
index ff96c64a..ff72ecb7 100644
--- a/deploy/adapters/ansible/roles/glance/tasks/nfs.yml
+++ b/deploy/adapters/ansible/roles/glance/tasks/nfs.yml
@@ -1,10 +1,9 @@
---
-- name: install packages
- action: "{{ ansible_pkg_mgr }} name={{ item }} state=present"
- with_items: nfs_packages
-
- name: install nfs
- local_action: yum name=nfs-utils state=present
+ local_action: yum name={{ item }} state=present
+ with_items:
+ - rpcbind
+ - nfs-utils
run_once: True
- name: create image directory
@@ -21,7 +20,7 @@
local_action: service name={{ item }} state=restarted enabled=yes
with_items:
- rpcbind
- - nfs
+ - nfs-server
run_once: True
- name: get mount info