]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
tests: lvm_setup.yml, add carriage return
authorGuillaume Abrioux <gabrioux@redhat.com>
Wed, 22 Jul 2020 05:28:34 +0000 (07:28 +0200)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Wed, 22 Jul 2020 22:46:49 +0000 (18:46 -0400)
This commit adds crlf between each task.
It makes the playbook more readable.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 8ef9fb68bc975f92069f362775f4f281c3b03531)

tests/functional/lvm_setup.yml

index 15b23bafa6327f6b43b764b74e7a2b64ec8c9278..94149d96fac518259afde13d6614d0daf54886e6 100644 (file)
         path: /run/ostree-booted
       register: stat_ostree
       tags: always
+
     - name: set_fact is_atomic
       set_fact:
         is_atomic: '{{ stat_ostree.stat.exists }}'
       tags: always
+
     # Some images may not have lvm2 installed
     - name: install lvm2
       package:
       register: result
       until: result is succeeded
       when: not is_atomic | bool
+
     - name: create volume group
       lvg:
         vg: test_group
         pvs: "{{ pv_devices[0] | default('/dev/sdb') }}"
+
     - name: create logical volume 1
       lvol:
         vg: test_group
         lv: data-lv1
         size: 50%FREE
         shrink: false
+
     - name: create logical volume 2
       lvol:
         vg: test_group
         lv: data-lv2
         size: 100%FREE
         shrink: false
+
     - name: partition  "{{ pv_devices[1] | default('/dev/sdc') }}"for journals
       parted:
         device: "{{ pv_devices[1] | default('/dev/sdc') }}"
@@ -52,6 +58,7 @@
         label: gpt
         state: present
       tags: partitions
+
     - name: partition  "{{ pv_devices[1] | default('/dev/sdc') }}"for journals
       parted:
         device: "{{ pv_devices[1] | default('/dev/sdc') }}"
         state: present
         label: gpt
       tags: partitions
+
     - name: create journals vg from  "{{ pv_devices[1] | default('/dev/sdc') }}2"
       lvg:
         vg: journals
         pvs: "{{ pv_devices[1] | default('/dev/sdc') }}2"
+
     - name: create journal1 lv
       lvol:
         vg: journals