Re: [ansible-project] apt module behavior

2017-01-17 Thread Andreas Olsson
tis 2017-01-17 klockan 01:42 -0800 skrev Igor Schaefer: > Sure, all you know the situation, when you install a new version of > package  and you get a dialog window with warnings like "use existing > version of  config file or replace it with new one" or "that your > lovely function is  depricated

[ansible-project] Re: apt module behavior

2017-01-17 Thread Alexey Vazhnov
Ansible set DEBIAN_FRONTEND=noninteractive, so no any dialog. On Wednesday, January 18, 2017 at 2:06:34 AM UTC+5, Igor Schaefer wrote: > > Hello, colleagues > > Sure, all you know the situation, when you install a new version of > package and you get a dialog window with warnings like "use

[ansible-project] how to access variables set on target env

2017-01-17 Thread 'Anand Dasari' via Ansible Project
Hi i have a shell script which is setWLSEnv.sh on target machine, i run this first to set up web logic env after that i run the command java weblogic.WLST {{ pyhton file}} now i get Error: could not find or load main class web logic.WLST why i'm loosing the env variable set in previous

[ansible-project] apt module behavior

2017-01-17 Thread Igor Schaefer
Hello, colleagues Sure, all you know the situation, when you install a new version of package and you get a dialog window with warnings like "use existing version of config file or replace it with new one" or "that your lovely function is depricated now, make a note of this", etc. I'd like to

[ansible-project] Variables from csv and loops with random records

2017-01-17 Thread Mátyás Kovács
Hi All, I hope you can help me with this problem. There are 50 different servers, each of them has different iptables firewall and rules. I want them to be managed by Ansible. My idea is to create a csv file, like this: hostname/ip, iptablesrule testmachine05, iptables -A LOGNDROP -p udp -m

[ansible-project] Ansible host license across multiple inventories

2017-01-17 Thread driverA
Hi everyone, the Ansible/Tower license model is based on hosts. What if I have a host that is a member of multiple inventories? Does Ansible assign a license to the existence of each host within an inventory or does it aggregate the host license based on an IP or hostname? thank you. -- You

Re: [ansible-project] Ansible 2.2.1 and 2.1.4 FINAL have been released!

2017-01-17 Thread Philippe Eveque
Thanks On our side this breaks existing playbooks running on rhel6 where roles are applied conditionally. like the following one: - role: ntpd_slewing_mode tags: ["ntp_options"] when: ansible_distribution_major_version == "6" and lead to the following error: TASK

[ansible-project] How to uninstall ansible tower

2017-01-17 Thread jithendra myla
How to uninstall ansible tower, Can you please provide me the steps, i don't see in the ansible tower documentation. -- 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

Re: [ansible-project] Re: How to avoid error when using a registered variable in check mode?

2017-01-17 Thread Johannes Kastl
On 16.01.17 10:32 Paul Tötterman wrote: >> 1. Set check_mode: no and always run the command task so the >> variable always contains the stdout object. >> 2. Only run the debug task when my_variable.skipped is not >> defined. >> > > 3. only run the debug task when not in check_mode > 4. set

Re: [ansible-project] Re: How to avoid error when using a registered variable in check mode?

2017-01-17 Thread Johannes Kastl
On 15.01.17 19:43 Anthony Bond wrote: > - debug: msg="Here is the output of {{ my_variable.stdout }}" when: > my_variable is defined Thanks, I already had that in mind for the element skipped of my_variable: "2. Only run the debug task when my_variable.skipped is not defined." Johannes --

[ansible-project] anisble Tower user account

2017-01-17 Thread jithendra myla
Can i install Ansible tower as user account "ansible" instead of "awx" ? -- 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] Re: Find module questions

2017-01-17 Thread Reji
Brian, Thanks for your help. Your suggestion worked. However, I am having trouble with the pattern in my contain. My file content is jdbc:oracle:thin:@dev1d111.xxx.com:1521/.xx.com I have tried various combinations for my contain parameter and I still cannot get a matched file.

[ansible-project] Re: copy from remote a to remote b

2017-01-17 Thread 'J Hawkesworth' via Ansible Project
You might be able to do what you want using the synchronize module by taking advantage of ansible's ability to delegate modules to run on specific hosts. Lots of examples of ways to use synchronize on the module documentation page here: http://docs.ansible.com/ansible/synchronize_module.html

[ansible-project] copy from remote a to remote b

2017-01-17 Thread Cev Ing
I need to copy the very big file X from remote system A to remote system B, only if X is newer on A or if X is missing on B. I can do it in two steps: first transfer X from A to the Ansible server and next from the Ansible server to B. But the effect will be that all files from A are mirrored