On Tue, 7 Apr 2020 18:08:48 +0530 mahesh g o <[email protected]> wrote:
> can this be created alternatively like
> vol1: rw
> vol2: dp
> vol3:rw
> vol4:dp
> .
> .
> vol29:rw
> vol30:dp
Yes. It's possible. Fit the condition to your needs. For example
type: "{{ (volume_item|int is odd)|ternary('rw', 'dp') }}"
HTH,
-vlado
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/20200407153218.19769830%40gmail.com.
pgpr7YdFLV6EC.pgp
Description: OpenPGP digital signature
