How to verify col C is always double of Col D in ansible.

37 views
Skip to first unread message

Jenisha T

unread,
Jul 21, 2020, 10:11:26 AM7/21/20
to Ansible Project
Hi Team

The output shown in image  is stored in the register variable. How to verify the value in col C is double the value in col D and Col E value is always 2 and verify Col F is syncd

<a href="https://imgur.com/rZXeHUg"><img src="https://i.imgur.com/rZXeHUg.png" title="source: imgur.com" /></a>

Stefan Hornburg (Racke)

unread,
Jul 21, 2020, 10:15:06 AM7/21/20
to ansible...@googlegroups.com
Please put your request in plain text.

Regards
Racke

> --
> 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
> ansible-proje...@googlegroups.com <mailto:ansible-proje...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/43fc3a21-7900-4dca-88dd-fc284de15f7bn%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/43fc3a21-7900-4dca-88dd-fc284de15f7bn%40googlegroups.com?utm_medium=email&utm_source=footer>.


--
Ecommerce and Linux consulting + Perl and web application programming.
Debian and Sympa administration. Provisioning with Ansible.

signature.asc

T. JENISHA

unread,
Jul 21, 2020, 10:21:08 AM7/21/20
to Ansible Project

Hi Team

My register variable output

verify_pp.png


Need to verify in all rows (unknown how many rows)col LPs are double col PPs and col PVS are always 2 and col LV STATE IS SYNCD
How to do it in ansible. 


Best Regards
Jenisha T
Whatsapp: +91 07598087866





You received this message because you are subscribed to a topic in the Google Groups "Ansible Project" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ansible-project/cc0NrudssXs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/c7bdded8-1855-e043-4f3a-145bfe0d1342%40linuxia.de.

Stefan Hornburg (Racke)

unread,
Jul 21, 2020, 10:28:19 AM7/21/20
to ansible...@googlegroups.com
On 7/21/20 4:20 PM, T. JENISHA wrote:
>
> Hi Team
>
> My register variable output
>
> verify_pp.png
>
>
> Need to verify in all rows (unknown how many rows)col *LPs *are double col *PPs* and col *PVS* are always 2 and col*LV
> STATE *IS SYNCD
> How to do it in ansible.

And the task which produces this output is?

Regards
Racke
>
>
> Best Regards
> Jenisha T
> Whatsapp: +91 07598087866
>
>
>
>
>
> On Tue, 21 Jul 2020 at 19:45, Stefan Hornburg (Racke) <ra...@linuxia.de <mailto:ra...@linuxia.de>> wrote:
>
> On 7/21/20 4:11 PM, Jenisha T wrote:
> > Hi Team
> >
> > The output shown in image  is stored in the register variable. How to verify the value in col C is double the value in
> > col D and Col E value is always 2 and verify Col F is syncd
> >
> > <a href="https://imgur.com/rZXeHUg"><img src="https://i.imgur.com/rZXeHUg.png" title="source: imgur.com
> <http://imgur.com>" /></a>
> >
>
> Please put your request in plain text.
>
> Regards
>        Racke
>
> > --
> > 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
> > ansible-proje...@googlegroups.com <mailto:ansible-project%2Bunsu...@googlegroups.com>
> <mailto:ansible-proje...@googlegroups.com <mailto:ansible-project%2Bunsu...@googlegroups.com>>.
> > To view this discussion on the web visit
> > https://groups.google.com/d/msgid/ansible-project/43fc3a21-7900-4dca-88dd-fc284de15f7bn%40googlegroups.com
> >
> <https://groups.google.com/d/msgid/ansible-project/43fc3a21-7900-4dca-88dd-fc284de15f7bn%40googlegroups.com?utm_medium=email&utm_source=footer>.
>
>
> --
> Ecommerce and Linux consulting + Perl and web application programming.
> Debian and Sympa administration. Provisioning with Ansible.
>
> --
> You received this message because you are subscribed to a topic in the Google Groups "Ansible Project" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/topic/ansible-project/cc0NrudssXs/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to ansible-proje...@googlegroups.com
> <mailto:ansible-project%2Bunsu...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/c7bdded8-1855-e043-4f3a-145bfe0d1342%40linuxia.de.
>
> --
> 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
> ansible-proje...@googlegroups.com <mailto:ansible-proje...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/CAAGhZYiabz2G8snDZgshXkFLyNoVvR1_W%3DWWP9HoV-ZYFmgY5Q%40mail.gmail.com
> <https://groups.google.com/d/msgid/ansible-project/CAAGhZYiabz2G8snDZgshXkFLyNoVvR1_W%3DWWP9HoV-ZYFmgY5Q%40mail.gmail.com?utm_medium=email&utm_source=footer>.
signature.asc

Jenisha T

unread,
Jul 23, 2020, 8:27:15 AM7/23/20
to Ansible Project
Its the output of 
lsvg -l rootvg

used in AIX server

Reply all
Reply to author
Forward
0 new messages