diff options
author | liyuenan <liyuenan@huawei.com> | 2016-12-27 17:44:34 +0800 |
---|---|---|
committer | liyuenan <liyuenan@huawei.com> | 2017-01-05 09:42:35 +0800 |
commit | 92f6ca7bb6d7b2f295406aab34094b1dba76ff94 (patch) | |
tree | c4e62927a3bf9862f7ba9ce286cbece2c4335ef4 /deploy/adapters/ansible/roles/storage/tasks | |
parent | 6072a49adb33f2bce3f48b9c7b8be7d96cf8501c (diff) |
Yamllint test
JIRA: COMPASS-516
Change-Id: I482ce9bc86f4f963258c5b8823e0b00e83556eef
Signed-off-by: liyuenan <liyuenan@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles/storage/tasks')
-rwxr-xr-x | deploy/adapters/ansible/roles/storage/tasks/main.yml | 5 | ||||
-rwxr-xr-x | deploy/adapters/ansible/roles/storage/tasks/real.yml | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/deploy/adapters/ansible/roles/storage/tasks/main.yml b/deploy/adapters/ansible/roles/storage/tasks/main.yml index be712c67..b4263d6b 100755 --- a/deploy/adapters/ansible/roles/storage/tasks/main.yml +++ b/deploy/adapters/ansible/roles/storage/tasks/main.yml @@ -43,7 +43,10 @@ - storage - name: set autostart file for centos - copy: src=storage.service dest=/usr/lib/systemd/system/storage.service mode=0755 + copy: + src: storage.service + dest: /usr/lib/systemd/system/storage.service + mode: 0755 when: ansible_os_family == "RedHat" tags: - storage diff --git a/deploy/adapters/ansible/roles/storage/tasks/real.yml b/deploy/adapters/ansible/roles/storage/tasks/real.yml index e99f185e..7845a235 100755 --- a/deploy/adapters/ansible/roles/storage/tasks/real.yml +++ b/deploy/adapters/ansible/roles/storage/tasks/real.yml @@ -9,7 +9,7 @@ --- - name: destroy GPT lable shell: dd if=/dev/urandom of={{ physical_device }} bs=4M count=1 - ignore_errors: True + ignore_errors: "True" - name: create physical and group volumes lvg: vg=storage-volumes pvs={{ physical_device }} |