mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
365 B
YAML
16 lines
365 B
YAML
6 years ago
|
- name: Create volume group on disk device
|
||
|
lvg:
|
||
|
vg: testvg
|
||
|
pvs: "{{ loop_device1.stdout }}"
|
||
|
|
||
|
- name: Create the volume group again to verify idempotence
|
||
|
lvg:
|
||
|
vg: testvg
|
||
|
pvs: "{{ loop_device1.stdout }}"
|
||
|
register: repeat_vg_create
|
||
|
|
||
|
- name: Do all assertions to verify expected results
|
||
|
assert:
|
||
|
that:
|
||
|
- repeat_vg_create is not changed
|