Re: [ansible-project] Re: Cannot use the pexpect module with Keybase pgp and multiple ':' characters

2019-08-31 Thread Andrew Graham
:18 UTC+10, Kai Stian Olstad wrote: > > On 30.08.2019 08:40, Andrew Graham wrote: > > An example of the chars used for the password entered (but not the > > actual > > pass obviously) is- > > %9SuperSecretPassword > > > > Here is the ex

Re: [ansible-project] Re: Cannot use the pexpect module with Keybase pgp and multiple ':' characters

2019-09-04 Thread Andrew Graham
x27;t work- responses: Decryption: "{{ keybase_secret }}" On Thursday, 5 September 2019 01:31:03 UTC+10, Kai Stian Olstad wrote: > > On 31.08.2019 13:56, Andrew Graham wrote: > > Apologies. I'm not clear on how to past a code block in here. the > shell > > output

[ansible-project] Re: Cannot use the pexpect module with Keybase pgp and multiple ':' characters

2019-09-05 Thread Andrew Graham
cific then work backwards from there. > > There's the bizarre and unfortunate chance that it's also using the actual > printed username as part of the prompt but I'm assuming that's not so, > otherwise that'd be harder. > > On Tuesday, August 27, 2019

[ansible-project] unicode errors and inconsistency.

2019-12-30 Thread Andrew Graham
I get errors when passing some passwords into a shell command and I'd love some pointers on the best way out. The strange thing is, the ansible script works fine on centos 7 in AWS, but not on RHEL 7 on my local machine, and not in my ansible control vagrant virtualbox host (ubuntu 16). here i

[ansible-project] Re: unicode errors and inconsistency.

2019-12-30 Thread Andrew Graham
for security, so I'd love to know an approach to fixing the default vars handling this better. On Tuesday, 31 December 2019 01:50:24 UTC+10:30, Andrew Graham wrote: > > I get errors when passing some passwords into a shell command and I'd love > some pointers on the best way ou

[ansible-project] Re: unicode errors and inconsistency.

2020-01-08 Thread Andrew Graham
Has anyone else run into something similar? On Tuesday, 31 December 2019 01:50:24 UTC+10:30, Andrew Graham wrote: > > I get errors when passing some passwords into a shell command and I'd love > some pointers on the best way out. The strange thing is, the ansible > script wor

[ansible-project] Cannot use the pexpect module with Keybase pgp and multiple ':' characters

2019-08-27 Thread Andrew Graham
I'm wondering why the pexpect module is failing in this circumstance, perhaps my regex is not right, but the double ':' may be messing with things as well and I'm not sure how to approach handling it. if I run- keybase pgp encrypt -m 'secret' | keybase pgp decrypt Then this prompt may occ

Re: [ansible-project] Cannot use the pexpect module with Keybase pgp and multiple ':' characters

2019-08-28 Thread Andrew Graham
I'll try this out Kai, thanks for the suggestion! On Wednesday, 28 August 2019 17:50:24 UTC+10, Kai Stian Olstad wrote: > > On 28.08.2019 04:25, Andrew Graham wrote: > > I'm wondering why the pexpect module is failing in this > > circumstance, perhaps my regex

[ansible-project] Re: Cannot use the pexpect module with Keybase pgp and multiple ':' characters

2019-08-28 Thread Andrew Graham
rting keybase.service. Please enter your Keybase passphrase to unlock the secret key for: PGP key andre w_graham seg4esehseh Reason: PGP Decryption: MSG: command exceeded timeout On Wednesday, 28 August 2019 12:25:06 UTC+10, Andrew Graham wrote: > > I'm wondering why the pexpec

Re: [ansible-project] bets way to rotate ansible logs?

2019-08-28 Thread Andrew Graham
Hey Brian, could you elaborate on how you send them to syslog? On Friday, 20 December 2013 07:26:17 UTC+10, Brian Coca wrote: > > i send them to syslog and have /var/log/ansible/, and logrotate takes care > of it. > -- You received this message because you are subscribed to the Google Groups "

[ansible-project] Re: Cannot use the pexpect module with Keybase pgp and multiple ':' characters

2019-08-29 Thread Andrew Graham
Would you be able to share an example of how you achieved it with a shell module? -- 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...

Re: [ansible-project] Re: Cannot use the pexpect module with Keybase pgp and multiple ':' characters

2019-08-29 Thread Andrew Graham
ur Keybase passphrase to unlock the secret key for: PGP key andrew_graham KJ234K2J3RKJ3B2RKH Reason: PGP Decryption: On Thursday, 29 August 2019 20:42:55 UTC+10, Kai Stian Olstad wrote: > > On 28.08.2019 13:54, Andrew Graham wrote: > > no luck with your suggestion @Kai - its still ti