Ansible lint: Variables should have spaces before and after

Change-Id: I70f692f125739b5119c71a554a37b5c21d4164f6
This commit is contained in:
Marcin Juszkiewicz 2020-01-16 16:36:27 +01:00
parent 2c2eeb8159
commit 1453474c65
3 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@
- name: Find running ceph-osds containers
become: true
command: "docker ps --filter name=ceph_osd_ --format {% raw %}{{.Names}}{% endraw %}"
command: "docker ps --filter name=ceph_osd_ --format '{% raw %}{{ .Names }}{% endraw %}'"
register: ceph_osd_containers
- name: Stopping ceph-osd container

View File

@ -47,7 +47,7 @@
- name: Mount cephfs
become: true
command: "docker exec -u 0 manila_share mount -t ceph {{cephfs_addr}} /tmp/cephfs -o name=manila,secret={{ manila_keyring.stdout }}"
command: "docker exec -u 0 manila_share mount -t ceph {{ cephfs_addr }} /tmp/cephfs -o name=manila,secret={{ manila_keyring.stdout }}"
register: mount_cephfs
changed_when: False
run_once: True

View File

@ -7,6 +7,6 @@
# Docker bug (https://github.com/moby/moby/issues/11065), this might cause the
# container to be stopped if we restart Docker or reboot the server as we
# use the 'unless-stopped' restart policy by default.
shell: "kill -HUP `docker inspect -f '{% raw %}{{.State.Pid}}{% endraw %}' nova_scheduler`"
shell: "kill -HUP `docker inspect -f '{% raw %}{{ .State.Pid }}{% endraw %}' nova_scheduler`"
when:
- inventory_hostname in groups['nova-scheduler']