Re: [ansible-project] Ansible Licensing

2017-08-30 Thread Karl E. Jorgensen
the wrapper language be tied to ansible? By the sound of it, pretty tight! So the result will probably have to be GPLv3 too:   https://www.gnu.org/licenses/gpl-faq.html#NFUseGPLPlugins Hope this helps (more than it confuses...) --  Karl E. Jorgensen -- You received this message because you are

Re: [ansible-project] Need to chat off-forum

2017-08-25 Thread Karl E. Jorgensen
lling to exchange emails > (so I'm not airing dirty laundry publicly) to trade ideas on how to > deal with these difficult situations?  Bonus if you're in/near the DC > or Virginia, USA area. By the little you have revealed, I doubt they would be receptive from advice from a random s

Re: [ansible-project] url requires slash at end regex_replace filter

2016-06-01 Thread Karl E. Jorgensen
Hi On Tue, May 31, 2016 at 03:40:29PM -0700, jepper wrote: > I'm trying to create a template which contains a URL and must always have a / > on the end. So if jenkins_master_url is 'https://xyz.com' ansible must add a / > > If someone could help me with the regex_replace I'd be most grateful: >

Re: [ansible-project] Execute commands remotely on a ubuntu

2016-03-11 Thread Karl E. Jorgensen
On Fri, Mar 11, 2016 at 05:25:26AM -0800, Vamberto Junior wrote: > Hi everyone, > > I am new user on ansible and I have a little difficulty to execute commands >  remotely on a Ubuntu Server. (Ubuntu don't accept ssh with user root and the > user vamberto can use sudo su - ) > My machine is a Fedo

Re: [ansible-project] how to exit the ansible run, or handle it, when any remote node fails a task

2015-08-06 Thread Karl E. Jorgensen
that. No - once a node fails (without "ignore_errors: True"), it is no longer part of the remainder of the play, so no further tasks will be executed on the failed node. Hope this helps -- Karl E. Jorgensen -- You received this message because you are subscribed to the Google Groups

Re: [ansible-project] Re: assemble delimiter does not resolve attributes

2015-07-17 Thread Karl E. Jorgensen
fied on %Y-%m-%d % > H:%M:%S by {uid} on {host} > Isn't "ansible_managed" only set for templates ? I.e. in the template module, and thus doesn't apply to the copy module? -- Karl E. Jorgensen -- You received this message because you are subscribed to the Google Groups

Re: [ansible-project] Vagrant + Multiple Machines + Ansible

2015-03-12 Thread Karl E. Jorgensen
tory? From Vagrantfile? And how I can make to ansible > write it in a right way? If you use a group in the inventory file, e.g. named 'cluster', then your template could contain something like this: wsrep_cluster_address=gcomm://{% for host in groups['cluster'] %}{% if

Re: [ansible-project] Is there a way to add hosts from a file to inventory_hosts at the runtime of the playbook?

2014-12-23 Thread Karl E. Jorgensen
de me how can I add the hosts from a file which is generated at > the run-time and use it in the same play? It sounds like you will be better off with a dynamic inventory - i.e. have a look at http://docs.ansible.com/developing_inventory.html By the sound of it you have most of what you need a

Re: [ansible-project] Using Ansible to check for a custom program to be installed

2014-11-26 Thread Karl E. Jorgensen
d if it fails to check the > service status, then it is not installed. Well - hopefully nothing will match the pattern if the right daemon is not installed... > > I am unsure from here how to trigger the install if the 'pattern' > fails... Can you check for the presense

Re: [ansible-project] How to loop over an array inside a dictionary

2014-11-18 Thread Karl E. Jorgensen
ry}}/oracle/somewhere/here" - version: 11.2.0 path: "{{oracle_app_directory}}/oracle/somewhere/else" Hope this helps -- Karl E. Jorgensen -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this grou

Re: [ansible-project] Force re-read of dynamic inventory script?

2014-11-17 Thread Karl E. Jorgensen
lf in? But I'm such a law breaker. Sometimes I press the button for the 3RD FLOOR on the lift, even when only goin to the 2ND FLOOR! I'm not even going to return the original mail to you! Hah! Take that! You'll have to get NEW ones and zeros for your next email! That'll teac

Re: [ansible-project] Split between CI on our servers, and releases to clients

2014-10-22 Thread Karl E. Jorgensen
ible playbook to basically "apt:" or "yum:" tasks... > > On 22 Oct 2014 22:57, "Karl E. Jorgensen" wrote: > > Hi > > On Wed, Oct 22, 2014 at 02:38:01PM -0700, Kulwinder Singh wrote: > > Hi > > > > Our software

Re: [ansible-project] Split between CI on our servers, and releases to clients

2014-10-22 Thread Karl E. Jorgensen
n the installation too... Obviously, you can still use ansible to drive the installation, but the grunt work would then be done by the package itself... .. Just my 2p... -- Karl E. Jorgensen -- You received this message because you are subscribed to the Google Groups "Ansible Project" gro

Re: [ansible-project] Ansible and SSH agent forwarding

2014-10-01 Thread Karl E. Jorgensen
o re-use previous SSH connections and thus speeds things up. This is a handy thing to use even for interactive use... -- Karl E. Jorgensen -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop

Re: [ansible-project] Custom ssh_config Not Working As Expected

2014-09-24 Thread Karl E. Jorgensen
-F ssh_config", it will obviously use the given SSH config file But in order to connect to app01, it needs to run the ProxyCommand. But this will use the *default* ssh config file. Not the one in the current directory... As far as SSH is concerned, the ProxyCommand is simply a shell command -

Re: [ansible-project] how to set timeout for shell command

2014-09-22 Thread Karl E. Jorgensen
eout" (in Debian this is in the coreutils package, not sure about other distros) - which can enforce a timeout on a given shell command. Perhaps that can help too? -- Karl E. Jorgensen -- You received this message because you are subscribed to the Google Groups "Ansible Project"

Re: [ansible-project] How to abort just one role and let the others run

2014-09-17 Thread Karl E. Jorgensen
ure is a failure... > Is it possible to abort just particular role > and let run the rest of the playbook ? I would recommend changing the roles so that installation of new software is skipped (instead of failing) when the software is already present... -- Karl E. Jorgensen -- You recei

Re: [ansible-project] debconf, can't get it to conf

2014-09-11 Thread Karl E. Jorgensen
nge thing is that on the 1st pass state is "changed" and not > after. Yes - It changed the value in the database on the first run. On subsequent runs, the database value does not need changing. Hope this helps -- Karl E. Jorgensen -- You received this message because you are subscri

Re: [ansible-project] ansible ovirt module

2014-08-13 Thread Karl E. Jorgensen
> >> detail: JBWEB65: HTTP Status 401 > >> > >> > >> FATAL: all hosts have already failed -- aborting > >> > >> On the rhev manager server I see the following output in the > >> /var/log/ovirt-engine/engine.log: > >> > >

Re: [ansible-project] Is it possible to jump to the next task without waiting for any Reason Code / Output?

2014-08-06 Thread Karl E. Jorgensen
che/publish*/* > > - name: Delete precompiled jsps > command: curl -X DELETE http://localhost:4503/var/classes/org/apache/jsp/ > apps/ -u {{username}}:{{password}} > > > Thank you in advance > > Best regards, > Julián Jamardo > -- Karl E. Jorgensen -

Re: [ansible-project] Make it possible to nest connection plugins

2014-08-01 Thread Karl E. Jorgensen
ProxyCommand ssh jailkeeperhost nc %h %p This should allow you to use "ssh" (and scp for that matter) to interact directly with the jailed host. And Ansible should be able to take advantage of that. Hope this helps -- Karl E. Jorgensen -- You received this message because you are subsc

Re: [ansible-project] Re: How to detect why Ansible playbook hangs during execution

2014-07-24 Thread Karl E. Jorgensen
{basename-of-the-tty} Hope this helps -- Karl E. Jorgensen -- 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

Re: [ansible-project] Tomcat startup.sh script works from shell but not with ansible

2014-02-11 Thread Karl E. Jorgensen
d... If you start tomcat from a normal login shell, and run "ps -ef|grep tomcat" (or similar), it should not be associated with your login tty... -- Karl E. Jorgensen -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscrib