Relatively new to ansible. Trying to create a logical volume on some RHEL
7 servers. I have:
- name: make-lv
lvol:
vg: vg_{{ inventory_hostname_short }}
lv: lv_ekb
size: 100%FREE
state: present
which works fine if the logical volume does not exist, but fails when it
does. How do I tell it not to fail if the logical volume already exists?
Thanks!
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/7f9ec1c9-6ea5-49c6-894a-e05519b54bdb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.