diff options
Diffstat (limited to 'deploy/adapters/ansible/roles/storage')
-rwxr-xr-x | deploy/adapters/ansible/roles/storage/tasks/loop.yml | 2 | ||||
-rwxr-xr-x | deploy/adapters/ansible/roles/storage/tasks/main.yml | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/deploy/adapters/ansible/roles/storage/tasks/loop.yml b/deploy/adapters/ansible/roles/storage/tasks/loop.yml index 21b393d5..b0fb9c21 100755 --- a/deploy/adapters/ansible/roles/storage/tasks/loop.yml +++ b/deploy/adapters/ansible/roles/storage/tasks/loop.yml @@ -13,7 +13,7 @@ register: part_size - name: create image file if not exitst - script: create_img.sh \"{{ part_size.stdout }}\" + script: create_img.sh "{{ part_size.stdout }}" - name: do a losetup on storage volumes script: losetup.sh diff --git a/deploy/adapters/ansible/roles/storage/tasks/main.yml b/deploy/adapters/ansible/roles/storage/tasks/main.yml index b48e6769..be712c67 100755 --- a/deploy/adapters/ansible/roles/storage/tasks/main.yml +++ b/deploy/adapters/ansible/roles/storage/tasks/main.yml @@ -15,7 +15,7 @@ - name: load loop.yml include: loop.yml - when: status.stat.exists == False or status.stat.isblk == False + when: status.stat.exists == False or status.stat.isblk == False tags: - storage @@ -50,7 +50,7 @@ - name: enable service - service: name=storage enabled=yes + shell: update-rc.d storage defaults tags: - storage |