Re: [ansible-project] Anyone can explain "false" below

2021-12-29 Thread Jack Morgan
d49b-e09e-475b-8e10-b1ca37ab0541n%40googlegroups.com?utm_medium=email_source=footer>. -- Jack Morgan -- 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 t

Re: [ansible-project] Re: Regarding Stopping Execution if condition met

2021-11-10 Thread Jack Morgan
rom it, send an email to ansible-project+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/b7a889f1-0c32-4729-a05e-62250d1ff750n%40googlegroups.com <https://groups.google.com/d/msgid/ansible-project/b7a889f1-0c32-4729-a05e-62

Re: [ansible-project] Re: is there a progress bar in TASK?

2020-05-18 Thread Jack Morgan
roject" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to ansible-project+unsubscr...@googlegroups.com > <mailto:ansible-project+unsubscr...@googlegroups.com>. > To view this discussion on the web visit > https://groups.google.c

Re: [ansible-project] Yum update on multiple hosts but using a cusom repo file

2020-04-22 Thread Jack Morgan
one > manually (which is what i have been doing until now). > > How do I specify this folder in Ansible to all other hosts? > > For eg: > > if my YUM server has all its updates in  > http://192.168.0.5/rhel6pathes/april/ > > how do i get the other servers to look at th

[ansible-project] Re: Execute the ipaddr filter after installation

2019-05-14 Thread Jack Ivanov
No, this is not the case, I'm running the playbook on localhost and deploying to localhost. The problem is that python is not reloading the cache for each task. On Wednesday, May 15, 2019 at 5:53:20 AM UTC+2, David Rojas wrote: > > You are installing it on the target device but it needs to be

Re: [ansible-project] Ansbile fails to connect while ssh works

2016-04-12 Thread Jack Minardi
pi@raspberry:~ $ which python /usr/bin/python pi@raspberry:~ $ which python2 /usr/bin/python2 pi@raspberry:~ $ which python2.7 /usr/bin/python2.7 pi@raspberry:~ $ dpkg -l|grep python ii dh-python 1.2014-2 all

Re: [ansible-project] Ansbile fails to connect while ssh works

2016-04-10 Thread Jack Minardi
That seems to have worked, see the verbose output here: http://pastebin.com/p352vFvt On Saturday, April 9, 2016 at 1:47:45 PM UTC-4, Johannes Kastl wrote: > > On 09.04.16 02:00 Jack Minardi wrote: > > > <192.168.2.3> ESTABLISH CONNECTION FOR USER: pi on PORT 22 TO &g

[ansible-project] Ansbile fails to connect while ssh works

2016-04-08 Thread Jack Minardi
if there is any more info that would be helpful. Jack -- 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...@googlegroup

[ansible-project] escape double quote issue at ansible 1.9.3

2015-09-24 Thread jack
set to --op \"type eq 'db'\" So it looks like that at 1.9, the escape logic has been changed. What is the correct way to escape the double quotes? Thanks Jack -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To uns

[ansible-project] Application rollback with ansible

2015-05-26 Thread Jack P
have changed versions) 2. Maintain historical versions of applications on hosts and use symlinks to rollback. What is your experience or preference? Thanks, Jack -- You received this message because you are subscribed to the Google Groups Ansible Project group. To unsubscribe from this group

[ansible-project] Re: Getting variables defined in group_vars

2015-05-05 Thread jack . martin8912
Use the debug module and print out the value of httpd_port when running over some or all of your servers. You can do this with an ad-hoc command like: ansible all -m debug -a 'msg=Port is {{ httpd_port }}' On Tuesday, May 5, 2015 at 8:41:08 AM UTC-4, Ivan Kurnosov wrote: Hi, is it

[ansible-project] error_on_undefined_vars doesn't work for role parameters

2015-05-05 Thread jack . martin8912
I was going to submit this as a bug but I decided to send email first in case I'm doing something wrong. The session below should show all required information, but let me know whether something else is needed. ansible$ cat playbooks/test_role_with_undefined_list.yml

[ansible-project] Re: error_on_undefined_vars doesn't work for role parameters

2015-05-05 Thread jack . martin8912
Actually.. possibly_undefined_list should have thrown an undefined error before you ever try to access list_of_items on the second run. On Tuesday, May 5, 2015 at 12:21:02 PM UTC-4, jack.ma...@gmail.com wrote: I was going to submit this as a bug but I decided to send email first in case I'm

Re: [ansible-project] access local file from ansible custom module

2015-04-20 Thread jack
If you're thinking this custom module may be published or contributed back to Ansible at some point, note that the action plugin API is changing for v2: https://github.com/ansible/ansible/blob/devel/v2/ansible/plugins/action/patch.py On Fri, Apr 17, 2015 at 7:39 PM, jack jackm...@gmail.com

[ansible-project] Re: access the facts from the module

2015-04-15 Thread jack
Found one solution: use to_json to convert the facts into string format, then pass this string into module. Thanks jack On Tuesday, April 14, 2015 at 6:21:36 PM UTC-7, jack wrote: Hi All: We are trying to write some site custom modules, it requires to access other facts generated from our

[ansible-project] access the facts from the module

2015-04-14 Thread jack
Hi All: We are trying to write some site custom modules, it requires to access other facts generated from our custom modules. Anyone knows how to do it? or is there a way to pass json objects to the module? Thanks Jack -- You received this message because you are subscribed to the Google

[ansible-project] Re: Json and local facts.

2015-04-08 Thread jack
'} Later on, there is other ansible playbook will load those facts back in (using local_vars), even we replace the single quote, the facts file still cannot be loaded back, because there is leading u at each element, Thanks Jack On Wednesday, April 2, 2014 at 5:12:13 AM UTC-7, Marcin Prączko wrote

[ansible-project] Re: Json and local facts.

2015-04-08 Thread jack
That works, thank you so much. -- 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

Re: [ansible-project] Re: How to loop over list while pulling data from different list?

2015-03-06 Thread Jack Martin
Hi Clay, My understanding is that list_of_dict, being a list, should be indexed by integer and not by a string such as 'd01'. Try the code in Chip's response; it runs successfully. Cheers, Jack On Fri, Mar 6, 2015 at 2:25 AM, Clay Ye clay...@gmail.com wrote: the above code got this error

[ansible-project] Re: How to loop over list while pulling data from different list?

2015-03-05 Thread jack . martin8912
That is exactly what I was looking for! Thanks. On Wednesday, March 4, 2015 at 6:58:58 PM UTC-5, Chip Selden wrote: Jack, Interesting dilemma, I believe a little bit of Jinja2 would help you out. Try running this: - name: Test playbook hosts: localhost vars: list01

[ansible-project] How to loop over list while pulling data from different list?

2015-03-04 Thread Jack Martin
in list_of_dict: list01: - d01 - d07 - d33 There are many other lists like list01 with a similar structure. How do I loop through list01 while echoing the corresponding 'value' from list_of_dict? Cheers, Jack -- You received this message because you are subscribed to the Google Groups Ansible

Re: [ansible-project] Ansible Roles in 1.8.4 - Still inferior to include files for complex playbooks?

2015-02-24 Thread jack . martin8912
On Monday, February 23, 2015 at 10:37:20 PM UTC-5, Timothy Gerla wrote: Hey Jack, The entire mission of Ansible is simple IT automation, right? :) Wherever possible, my preference would be for a single Ansible playbook to handle the execution of a single high-level goal/user request

Re: [ansible-project] Ansible Roles in 1.8.4 - Still inferior to include files for complex playbooks?

2015-02-23 Thread Jack Martin
On Mon, Feb 23, 2015 at 5:17 PM, Timothy Gerla t...@gerla.net wrote: Some replies inline! Thanks for all the help! I'll reply inline too. On Mon, Feb 23, 2015 at 1:41 PM, jack.martin8...@gmail.com wrote: From Ansible doc http://docs.ansible.com/playbooks_roles.html#introduction: Roles

[ansible-project] playbook conditional include another playbook not wokring

2014-11-04 Thread jack
what condition I set. What I did wrong? Is it possible to include another playbook conditionally? Thanks Jack -- 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

Re: [ansible-project] playbook conditional include another playbook not wokring

2014-11-04 Thread jack
.yml } PLAY RECAP testserver : ok=4changed=0unreachable=0failed=0 Thanks Jack On Tuesday, November 4, 2014 10:02:06 AM UTC-8, Brian Coca wrote: Conditions on include don't apply to the include itself

Re: [ansible-project] playbook conditional include another playbook not wokring

2014-11-04 Thread jack
ansible 1.5.5 on Mac. -- 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] Documented Syntax with Modules

2014-03-17 Thread Jack Neely
the suggested/recommended syntax? Jack Neely -- 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

[ansible-project] issue to use variable for retries in the loop

2014-02-03 Thread jack
Jack -- 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

Re: [ansible-project] issue to use variable for retries in the loop

2014-02-03 Thread jack
Here is the issue just created: https://github.com/ansible/ansible/issues/5865 Thanks Jack On Monday, February 3, 2014 1:20:54 PM UTC-8, Michael DeHaan wrote: This is probably not something the system is templating out, but should. Please make sure you have filed a github.com/ansible

[ansible-project] run a specific task sequentially for each host

2014-01-24 Thread jack
Hi, All: The serial: 1 allows us to run a play sequentially for each host in the host group. But we cannot find similar setting at task level. We want to find a way to run a task in a role sequentially for each host because some external racing issue. Anyone knows how to do it? Thanks Jack