- name: Set the output of the this state
     set_fact: A="{{image_avl.stdout}}"          -- this is coming from the
previous registered output
     tags: avl1

   - name: Define our static value for the desired image number
     set_fact: B={{retain}}                       -- this is coming from
the inventory
     tags: num2

   - name: difference
     shell: C=`expr "{{image_avl.stdout}}" - {{retain}}`
     register: num_del
     tags: del1
   - debug: var="num_del"

On Tue, Feb 14, 2017 at 8:58 PM, Dick Visser <[email protected]> wrote:

> On 14 February 2017 at 16:12, DHAVAL JAISWAL <[email protected]> wrote:
> > solved it.
>
> Well done!
>
> Any chance of sharing *how* you solved it?
>
>
> Thanks,
>
> --
> Dick Visser
> Sr. System & Network Engineer
> GÉANT
>
> Want to join us? We're hiring: https://www.geant.org/jobs
>
> --
> 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/keIYWBBA1c8/unsubscribe.
> To unsubscribe from this group and all its topics, 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/CAL8fbwNOB9bkDrzDzOcBCKTY6Ebbr
> fMxWwzHLCD2zpm_w6KfxQ%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Thanks & Regards
Dhaval Jaiswal

-- 
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/CAH5ShBh4xinpsAxXdibrpL7c_OV5i9XE_jzEB4A%2BwumZ0W%2BZrw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to