Thanks !!
It works, post adding set_fact: current_image_state="{{ image_state.stdout
}}".
On Tue, Feb 7, 2017 at 5:34 PM, Johannes Kastl <m...@ojkastl.de> wrote:
> On 06.02.17 20:00 DHAVAL JAISWAL wrote:
> > Tried below one. However, when condition is not correctly ev
ct_module.html
>
>
>
> []s,
> Rodrigo B Brasil
>
> On Wed, Feb 1, 2017 at 4:16 PM, DHAVAL JAISWAL <dhava...@gmail.com> wrote:
>
>> Where i can set this variable so that i can compare it in where
>> condition.
>>
>> Any small test sc
dium=email_source=footer>
> .
>
> 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 thi
solved it.
On Tue, Feb 14, 2017 at 6:00 PM, bablu wrote:
>
>- 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
I tried with fail and it works.
Is this works when we set any_errors_fatal: true
On Tue, Feb 14, 2017 at 10:25 PM, Kai Stian Olstad <
ansible-project+l...@olstad.com> wrote:
> On 14. feb. 2017 17:43, bablu wrote:
>
>>
>> If condition fails it should not go for the next step and exit from
oming 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 <dick.vis...@geant.org> wrote:
> On 14
the web visit https://groups.google.com/d/
> msgid/ansible-project/12a10d0e-c6e9-4d1e-921f-69fb715b3d30%40googlegroups.
> com
> <https://groups.google.com/d/msgid/ansible-project/12a10d0e-c6e9-4d1e-921f-69fb715b3d30%40googlegroups.com?utm_medium=email_source=footer>
> .
>
> For m
It works !!
On Fri, Feb 10, 2017 at 12:12 AM, Johannes Kastl <m...@ojkastl.de> wrote:
> On 09.02.17 19:36 DHAVAL JAISWAL wrote:
> > I want to use the failed_when in following ad-hoc command to ignore
> > the error. Is there any other alternative can be handle in ad hoc
>
Ansible version: ansible 1.9.2
I am unable to execute following command from shell module neither through
playbook. It could be any command at the run time. While reading found $,%
need the escape string. Tried but not working. Is there any way/module
through which i can run any command on the
Why extra variables (-e) ignoring commands after pipeline ("|") while
running playbook with -e options.
Following playbook giving output till "netstat -an" only. I want the output
of this "netstat -an | grep 8080" or any command which can be run at the
run time on remote host.
ansible-playbook
10 matches
Mail list logo