Re: [ansible-project] Expect still prompting to continue

2022-09-26 Thread Kevin Shumaker
In my non-ansible scripts, I just sent the 'y' or the 'n' ans the request isn't for a "y[enter]" and they (the apps) can get confused when the see something other than what they want... On Monday, September 26, 2022 at 9:17:54 AM UTC-4 uto...@gmail.com wrote: > `send "y\n"` is a "y" followed by

Re: [ansible-project] Expect still prompting to continue

2022-09-26 Thread Kevin Shumaker
Is 'send "y\n" ' a valid response to the expect? Or should it be just "y" or just "n"? On Monday, September 26, 2022 at 9:05:01 AM UTC-4 aok...@gmail.com wrote: > Thanks @Walter. Let me try and revert. > > Kind Regards > Andrew Okullu > Mob:+256-772-418560 <+256%20772%20418560>, +256754213295

Re: [ansible-project] GitHub Webhook not working

2022-09-18 Thread Kevin Shumaker
You can substitute w.x.y.z for the ip address or name of the web server, and change words or passwords and usernames to something else. It's hard to diagnose an issue if you don't know what the format of the command is you are using. I know, from personal experience, that just the number of spa

Re: [ansible-project] GitHub Webhook not working

2022-09-18 Thread Kevin Shumaker
Out of curiosity, what command is being used to call the github when you get the error? Can you give a sample / example? Does the command work at a command line level? On Sunday, September 18, 2022 at 12:23:47 PM UTC-4 maik@googlemail.com wrote: > I just followed the following guide > ht

Re: [ansible-project] Re: accessing vars for hosts that are not in the play?

2022-09-16 Thread Kevin Shumaker
Is it possible to have multiple 'inventories'? Like a touch list and do not touch list? On Friday, September 16, 2022 at 2:55:07 PM UTC-4 ehi...@gmail.com wrote: > If hosts are not in the inventory then they dont exist for Ansible. Group > variables are different than host variables, by the wa

Re: [ansible-project] create a systemd service without write access to /etc/systemd/system

2022-09-01 Thread Kevin Shumaker
When confronted by a lack of privileges to be able to accomplish certain tasks given to me, I've usually resorted to creating a ticket with my 'resolution', and escalating to the SysAdmins and let them 'deal' with the issue. (Usually limited access on specific servers). If they get enough tick

Re: [ansible-project] Noob question about time to run playbook.

2022-08-29 Thread Kevin Shumaker
--- > my_var1: my_value > my_var2: > - my_list_of_values > > Hope that helps. > > Walter > -- > Walter Rowe, Division Chief > Infrastructure Services, OISM > Mobile: 202.355.4123 <(202)%20355-4123> > > On Aug 29, 2022, at 10:02 AM, Kevin Shumaker wrote: > > Many t

Re: [ansible-project] Noob question about time to run playbook.

2022-08-29 Thread Kevin Shumaker
Many thanks for rapid responses. re: need of a 'state: present' parameter - It does not seem to need that line, and even if included, does not make a difference in the amount of time taken. re: vars files vs vars in playbook - I have not been able to resolve issues with using any ver

[ansible-project] Noob question about time to run playbook.

2022-08-27 Thread Kevin Shumaker
Greetings all. I'd like to tap your knowledge to see if there is a way to tweak a playbook to 'speed things up'. I have a list of apps that always get installed to a new server. If I do them manually, as either a single command: apt install sendemail libio-socket-ssl-perl libnet-ssleay-perl perl

[ansible-project] Re: Automated Server Provisioning with ServiceNow and Ansible Tower

2022-08-24 Thread Kevin Shumaker
Absolutely would like to see any such presentation... > > -- 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.com. To

Re: [ansible-project] I need assistance with vars, lists, and apt

2022-08-19 Thread Kevin Shumaker
Thank you sir. I am not sure why, but it works with or without the status: line. Todd found what was breaking my playbook, though. I did add the status: line just to be consistent, and for readability in the future. I appreciate both of your assistance, and I hope to contribute in the future.

[ansible-project] Re: I need assistance with vars, lists, and apt

2022-08-19 Thread Kevin Shumaker
Ding! Ding! Ding! I need to get my eyes checked... That was the issue! Missing the ':'. The list works as expected, now. I use Pi-Gen to create my custom OS, but I think Ansible is going to be my replacement, as it does all that Pi-Gen does, but allows me to do it to any of my Linux machines.

Re: [ansible-project] I need assistance with vars, lists, and apt

2022-08-19 Thread Kevin Shumaker
Wow, thanks for the speedy reply! Unfortunately for me, that didn't work (adding 2 spaces further indent on the line " name: {{ applications }} " although it does make sense. I still get the same error, at the same point. Kinda frustrating when the keyword "name:" can be used for several dif

[ansible-project] I need assistance with vars, lists, and apt

2022-08-19 Thread Kevin Shumaker
New user of ansible. I've tried several playbooks to use as templates. My goal is to create a vars.yml with the following: = = = = = --- applications: - app1 - app2 - app3 - and so on ... = = = = = and file inventory contains list of new_machines (with appropriate link in ansible.cfg)