Re: [ansible-project] Templete statement that can qualify mulitiple inventory_hostname

2017-12-13 Thread Mike Johnston
That was it! I knew it would be simple...just not that simple. Thank you Stian. :) On Tuesday, December 12, 2017 at 11:42:54 PM UTC-6, Kai Stian Olstad wrote: > > On 12.12.2017 23:56, Mike Johnston wrote: > > *hosts file:* > > [group1] > > system1 > > system

[ansible-project] Templete statement that can qualify mulitiple inventory_hostname

2017-12-12 Thread Mike Johnston
I'm trying to figure out how to pass statement that will match multiple hostnames instead of just one. I know how to do it with a group in the hosts file, but I need it to be something I set in the defaults part of the role. I'm sure sure the answer is really easy but I'm just getting used to

Re: [ansible-project] Re: Help with lineinfile

2017-05-10 Thread Mike Johnston
for original settings of the pam stack, and we > do not generally change the values after. > So was good enough for us. > But making remediation generic enough can be hard, as shown by this case. > > Thanks > > Phil > > 2017-05-09 6:26 GMT+02:00 Mike Johnston <mijoh...@gma

Re: [ansible-project] Re: Help with lineinfile

2017-05-08 Thread Mike Johnston
password-auth-ac' > tags: > - faillock5 > > > > 2017-05-03 22:29 GMT+02:00 Mike Johnston <mijo...@gmail.com > > : > >> Figures...2 minutes after I post this I think I solve it. I'm still >> interested in what others do in this situation howev

[ansible-project] Re: Help with lineinfile

2017-05-03 Thread Mike Johnston
'auth required pam_faillock.so' line={{ pam_faillock_pre }}" On Wednesday, May 3, 2017 at 3:20:51 PM UTC-5, Mike Johnston wrote: > > I'm having a problem wrapping my head around something. There are other > solutions out there that would solve my problem, but in the inte

[ansible-project] Help with lineinfile

2017-05-03 Thread Mike Johnston
I'm having a problem wrapping my head around something. There are other solutions out there that would solve my problem, but in the interest in learning to do something different I'm hoping someone can point out what I'm doing wrong with the lineinfile module. I grep a file for a line with a

[ansible-project] Re: Ansible has stopped working for me

2017-04-12 Thread Mike Johnston
Solved I mean... On Wednesday, April 12, 2017 at 5:54:37 PM UTC-5, Mike Johnston wrote: > > About a month is what I would say that it was working and now it's not. > I'm using 2.2.1.0. > > I've sold my issue...sort off...although I don't know what caused it. My &

[ansible-project] Re: Ansible has stopped working for me

2017-04-12 Thread Mike Johnston
system it all started working again. I guess it's a gluster bug. :/ On Tuesday, April 11, 2017 at 6:11:35 PM UTC-5, Mike Johnston wrote: > > I'm having an issue that I cannot google my way out of for some reason. I > had Ansible working just fine on all my systems but I ha

Re: [ansible-project] Ansible has stopped working for me

2017-04-12 Thread Mike Johnston
When I run that command with -vvv I receive the exact same output. If you're asking to ping manually, that works. Using SSH into the client works too. On Tuesday, April 11, 2017 at 8:36:13 PM UTC-5, Brian Coca wrote: > > run with -vvv and see the full ssh command, try to run that manually >

[ansible-project] Ansible has stopped working for me

2017-04-11 Thread Mike Johnston
I'm having an issue that I cannot google my way out of for some reason. I had Ansible working just fine on all my systems but I hadn't used it in a while. I went back to push some changes recently and now I cannot push anything...I can't even 'ansible ping' anything. I can manually SSH into