[ansible-project] Re: MongoDB Ansible PRs

2018-11-10 Thread rhys.james.campbell via Ansible Project
* Bump *

Anyone have ideas on this one?

-- 
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-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/0837f42b-256e-473b-b58e-2bb109761af7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] MongoDB Ansible PRs

2018-10-27 Thread rhys.james.campbell via Ansible Project
Hello,

I submitted two PRs to the Ansible project sometime ago...

https://github.com/ansible/ansible/pull/43674
https://github.com/ansible/ansible/pull/43673

I appreciate you guys get a lot of these but can I find out when these 
might get merge and/or if there is a problem.

Cheers,

Rhys

-- 
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-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/bd9a6c16-f5a3-4657-9d75-78804c7a1d31%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] Re: ansible conditions

2018-02-03 Thread rhys.james.campbell via Ansible Project
Is it possible the varibale is defined but unset. Why not test that the 
length of string is > 0 instead?

On Saturday, February 3, 2018 at 2:18:52 AM UTC+1, Sudhir Kumar wrote:
>
>
> when: is not working as expected, So, even if i don't pass parameters then 
> also it tries to run and then fails. So error is : from script i.e. 
> parameters not passed. 
> But ideally, it should skip this if parameter is not supplied.
>
> Regards,
> Sidh
>
>
>
> On Friday, February 2, 2018 at 2:35:22 PM UTC+1, Kai Stian Olstad wrote:
>>
>> On Friday, 2 February 2018 12.56.23 CET Sudhir Kumar wrote: 
>> > Hi All, 
>> > 
>> > Any ideas ? 
>>
>> Not without the actual error message you get. 
>>
>> -- 
>> Kai Stian Olstad 
>>
>

-- 
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-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/e40c6a39-01c8-4d49-9b2e-1b1a5effceb4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] Re: How to use when condition with value in range

2017-11-27 Thread rhys.james.campbell via Ansible Project
http://docs.ansible.com/ansible/latest/playbooks_tests.html#version-comparison


-- 
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-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/83136d52-3887-43f6-8fed-8e4f435cf7d6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] Re: Ansible option to playbook

2017-09-29 Thread rhys.james.campbell via Ansible Project
Have you tried printing it with the debug module? Paste your playbook here.

On Friday, September 29, 2017 at 12:05:53 PM UTC+2, nbmp...@gmail.com wrote:
>
> Thanks for the reply Rhys,
>
> I tried:
> ansible-playbook test.yml --extra-vars "--tree /home/user/ansible/facts"
> ansible-playbook test.yml --extra-vars "tree /home/user/ansible/facts"
> ansible-playbook test.yml --extra-vars "tree=/home/user/ansible/facts"
>
> None work.
>
> Den fredag den 29. september 2017 kl. 11.52.25 UTC+2 skrev 
> rhys.jame...@googlemail.com:
>>
>> See here; 
>> http://docs.ansible.com/ansible/latest/playbooks_variables.html#passing-variables-on-the-command-line
>>
>

-- 
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-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/64f0b974-0a32-48cd-a096-c660bde15ef7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] Re: Ansible option to playbook

2017-09-29 Thread rhys.james.campbell via Ansible Project
See 
here; 
http://docs.ansible.com/ansible/latest/playbooks_variables.html#passing-variables-on-the-command-line

-- 
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-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/9e902878-ebb5-4a65-9a7e-aa49a30d3cf3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] Re: Checking HTTP status codes with win_uri and Ansible 2.4.0.0

2017-09-29 Thread rhys.james.campbell via Ansible Project
Does the win_uri module definately support that style of list notation? 
It's written in powershell so perhaps not?

The docs seem to suggest so...


> A valid, numeric, HTTP status code that signifies success of the request.
> Can also be comma separated list of status codes.
> A valid, numeric, HTTP status code that signifies success of the request.
> Can also be comma separated list of status codes.


 

-- 
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-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/654e-3c75-484a-a923-225e3b6b27a9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] Ansible can not run apps with GUI! Is it ok?

2017-09-26 Thread rhys.james.campbell via Ansible Project
That's your own session. Ansible will execute in a different context. Check 
the DISPLAY variable in that seesion with this;

ansible localhost -m shell -a 'echo $DISPLAY';


-- 
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-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/c44a2e21-2cee-4fd3-80da-2c0f35d4db4c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] Best practice for cluster nodes

2017-09-16 Thread rhys.james.campbell via Ansible Project
I had a similar issue with a cassandra cluster recently. Serial wasn't 
really a workable option for me but I found an alternative solution using 
delegate_to. I did a write up of it here; 
http://www.youdidwhatwithtsql.com/staged-service-restart-ansible/2337/

Rhys

-- 
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-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/ea890069-af61-4478-8f62-c584b59d5d82%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.