Ansible question

2013-12-06 Thread Miroslav Suchy
Working on Copr, I want to replace/add one line in file. I spent more then hour trying various things, but I'm out of ideas. What I'm trying to do is: self.conn.module_name = "lineinfile" self.conn.module_args = "dest=/etc/mock/%s.cfg line=\"config_opts['chroot_setup_cmd'] = 'install @build %s

Ansible question

2015-01-28 Thread Miroslav Suchý
I have this ansible snippet: - name: Create users keystone_user: login_user="admin" login_password="{{ ADMIN_PASS }}" login_tenant_name="admin" user="{{ item.name }}" email="{{ item.email }}" tenant="{{ item.tenant }}" password="{{ item.password }}" state=

Re: Ansible question

2013-12-07 Thread Michael Scherer
Le vendredi 06 décembre 2013 à 18:01 +0100, Miroslav Suchy a écrit : > Working on Copr, I want to replace/add one line in file. I spent more > then hour trying various things, but I'm out of ideas. > > What I'm trying to do is: > > self.conn.module_name = "lineinfile" > self.conn.module_args = "

Re: Ansible question

2013-12-09 Thread Miroslav Suchý
On 12/07/2013 10:28 AM, Michael Scherer wrote: Le vendredi 06 décembre 2013 à 18:01 +0100, Miroslav Suchy a écrit : >Working on Copr, I want to replace/add one line in file. I spent more >then hour trying various things, but I'm out of ideas. > >What I'm trying to do is: > >self.conn.module_name

Re: Ansible question

2015-01-28 Thread Maciej Lasyk
Wouldn't it be more secure to use Vault here? Cheers, Maciej Lasyk GPG key ID: 4FED49C5 GPG public key: http://maciek.lasyk.info/gpg_maciej_lasyk.asc On Wed, Jan 28, 2015 at 4:57 PM, Miroslav Suchý wrote: > I have this ansible snippet: > - name: Create users > keystone_user: > logi

Re: Ansible question

2015-01-28 Thread Kevin Fenzi
On Wed, 28 Jan 2015 23:12:02 +0100 Maciej Lasyk wrote: > Wouldn't it be more secure to use Vault here? We don't actually use vault at all. It would require (as far as I know) everyone to know the password. Instead we keep private stuff in private vars files. kevin pgpNPZ0XJIaP_.pgp Descripti

Re: Ansible question

2015-01-28 Thread Kevin Fenzi
On Wed, 28 Jan 2015 16:57:56 +0100 Miroslav Suchý wrote: ...snip... > Is there way to mask the output (using -name or something) so the > password is not print to console? Sadly, I don't know of any way to do that. ;( It does sound like something that would be a nice feature... Perhaps it c

Re: Ansible question

2015-01-29 Thread Bill Nottingham
Kevin Fenzi (ke...@scrye.com) said: > On Wed, 28 Jan 2015 16:57:56 +0100 > Miroslav Suchý wrote: > > ...snip... > > > Is there way to mask the output (using -name or something) so the > > password is not print to console? > > > Sadly, I don't know of any way to do that. ;( > > It does sound

Re: Ansible question

2015-01-29 Thread Toshio Kuratomi
I just took a look at the keystone code. Unfortunately, I don't think this is coming from the module. It's being logged because they're in with_items here's a simpler playbook that shows that happening: $ cat test.yml *[devel] (08:12:25) --- - hosts: localhost gather_fact

Re: Ansible question

2015-01-30 Thread Miroslav Suchý
On 01/29/2015 05:30 PM, Toshio Kuratomi wrote: > no_log: True That did the job. Thanks! -- Miroslav Suchy, RHCE, RHCDS Red Hat, Senior Software Engineer, #brno, #devexp, #fedora-buildsys ___ infrastructure mailing list infrastructure@lists.fedora