summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/storage/tasks/main.yml
diff options
context:
space:
mode:
authorshuai chen <chenshuai@huawei.com>2016-02-24 07:41:29 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-02-24 07:41:29 +0000
commite38c1a6d08b10ea81d208bd40b9df1a13d28db8c (patch)
tree44beff459154f239469579882e559c2027649d95 /deploy/adapters/ansible/roles/storage/tasks/main.yml
parent3eab3cd722870e6c02ee1337d3536dc68f89b13e (diff)
parente72bc045fd467a442a0ffb1c78e710a270a59dfa (diff)
Merge "Support version Liberty of OpenStack for CENTOS7"
Diffstat (limited to 'deploy/adapters/ansible/roles/storage/tasks/main.yml')
-rwxr-xr-xdeploy/adapters/ansible/roles/storage/tasks/main.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/storage/tasks/main.yml b/deploy/adapters/ansible/roles/storage/tasks/main.yml
index 0a27be5d..b48e6769 100755
--- a/deploy/adapters/ansible/roles/storage/tasks/main.yml
+++ b/deploy/adapters/ansible/roles/storage/tasks/main.yml
@@ -42,6 +42,13 @@
tags:
- storage
+- name: set autostart file for centos
+ copy: src=storage.service dest=/usr/lib/systemd/system/storage.service mode=0755
+ when: ansible_os_family == "RedHat"
+ tags:
+ - storage
+
+
- name: enable service
service: name=storage enabled=yes
tags: