diff options
Diffstat (limited to 'deploy/adapters/ansible/roles/storage/tasks')
-rwxr-xr-x | deploy/adapters/ansible/roles/storage/tasks/main.yml | 7 |
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: |