[ansible-project] Re: Service Not Stopping

2018-01-22 Thread Heather Luna
service module wasn't working though so if anyone has any thoughts - open to hearing them! On Monday, January 22, 2018 at 12:58:55 PM UTC-8, Heather Luna wrote: > > Hello! > > It appears that Ansible is seeing the splunkd service as stopped although > when I check the status o

[ansible-project] Service Not Stopping

2018-01-22 Thread Heather Luna
Hello! It appears that Ansible is seeing the splunkd service as stopped although when I check the status on my test box, it's running. I use the same play earlier in the playbook to stop the service and it successfully changes. I'm stuck as to why it's seeing it as stopped when it's not.

[ansible-project] Service Not Stopping

2018-01-22 Thread Heather Luna
Hello! It appears that Ansible is seeing the splunkd service as stopped although when I check the status on my test box, it's running. I use the same play earlier in the playbook to stop the service and it successfully changes. I'm stuck as to why it's seeing it as stopped when it's not.

[ansible-project] Trying to Change Splunk Password via Splunk Syntax - Erroring

2018-01-17 Thread Heather Luna
Hello! My first playbook is just about complete. I just have a couple config changes to make with some .conf files and a password edit for the splunk user. Splunk documentation states to run this command at the command line to change the Splunk admin password: Run the following command from

[ansible-project] Jinja2 Configuration Concern with {{ fqdn_hostname }} and .conf file

2017-12-27 Thread Heather Luna
Hello! I have a configuration (.conf) file that I'm attempting to manipulate by adding the {{ fdqn_hostname }} ONLY for the serverName piece, the rest of the information like the SSL password is something that's going to change across my hosts. How do I edit just the one line and keep the rest

Re: [ansible-project] Re: (Windows) Service Fails to Stop in Actual Play - But Actually Stops On Test Server

2017-12-19 Thread Heather Luna
Thanks Jordan! (Again ;)) Are you talking about a specific Ansible log or just generic Windows system logs? Heather > On Dec 19, 2017, at 7:49 PM, Jordan Borean wrote: > > Ansible is a declarative language where you put the state of a resource, in > this case you want a service to be stoppe

[ansible-project] Re: (Windows) Service Fails to Stop in Actual Play - But Actually Stops On Test Server

2017-12-19 Thread Heather Luna
27;m not going to be able to manually troubleshoot ones that are taking a long time because x y z. On Tuesday, December 19, 2017 at 12:45:58 PM UTC-8, Heather Luna wrote: > > Weird thing happening with my Windows Playbook for Splunk. > > I run the play which includes stopping the Splunk

[ansible-project] (Windows) Service Fails to Stop in Actual Play - But Actually Stops On Test Server

2017-12-19 Thread Heather Luna
Weird thing happening with my Windows Playbook for Splunk. I run the play which includes stopping the Splunk Service. When it gets to the Splunk Service part with the service is supposed to stop, it seemingly fails. Now I checked before I ran the play and the Splunk service was running on my te

[ansible-project] (Windows) Service Fails to Stop in Actual Play - But Actually Stops On Test Server

2017-12-19 Thread Heather Luna
Weird issue. I'm stopping the Splunk service as a task in a Playbook: - name: Stopping Splunkd Service in Preperation for Splunk Directory Removal win_service: name: Splunkd state: stopped The play fails when it gets to this part but I confirmed the service was running before

Re: [ansible-project] Re: Querying Registry and Using Output

2017-12-16 Thread Heather Luna
44e16f-89ef-422a-b304-155f3cd77699%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- All my best, Heather Luna DjangoCon US Sponsorship Chair P. 267-838-7076 @h34th3r329 *The DjangoCon conference is o

[ansible-project] Re: Issue with running Ansible playbook against windows.

2017-12-15 Thread Heather Luna
Hey there, I was just cutting my teeth on executing playbooks against Windows. To add to Tony's piece about the PowerShell script ConfiguringRemotingforAnsible.ps1 which I had to do I also had to pip install the following on the control machine within side my virtualenv: pip install pywinrm

[ansible-project] Querying Registry and Using Output

2017-12-15 Thread Heather Luna
I'm new to Ansible and trying to figure out the best way to account for: If software version of Splunk = 6.4.1 trigger certain task sequence that includes an uninstall of the software It felt like I needed to grab the uninstall string for Splunk from the registry to use with the win_package modu

Re: [ansible-project] Re: Targeting Windows & Linux Machines from One Role

2017-09-22 Thread Heather Luna
8efd301-c3bc-4a1e-95a9-8fc7f07874f4%40googlegroups. > com > <https://groups.google.com/d/msgid/ansible-project/28efd301-c3bc-4a1e-95a9-8fc7f07874f4%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- All

Re: [ansible-project] Re: Targeting Windows & Linux Machines from One Role

2017-09-22 Thread Heather Luna
%40googlegroups. > com > <https://groups.google.com/d/msgid/ansible-project/f776c1bc-3b75-4ce8-b7bc-c0b4571df329%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- All my best, Heather Luna Djang

[ansible-project] Targeting Windows & Linux Machines from One Role

2017-09-21 Thread Heather Luna
I currently have a role that I am trying to tailor to install a splunk forwarder on both Linux and Windows machines but I'm a little confused as to how I should be telling the main.yml to yes go target these other two tasks splunklinux.yml if it's a RedHat Linux distribution or go to splunkwind

[ansible-project] Installing via. DMG

2017-02-06 Thread Heather Luna
I'm trying to install a Splunk Forwarder dmg as an update. I was looking for instructions on how to create an Ansible play to install the forwarder from the DMG. Thank you :) -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe f