Re: [ansible-project] How to make ansible-playbook quiet

2018-09-20 Thread Kai Stian Olstad
On 21.09.2018 06:12, Narahari 'n' Savitha wrote: Thank you in advance for your time and attention. In ansible-playbook command, how do I stop the ** lines from showing up ? I really want very minimal output. You can do that by changing stdout callback [1], it has many type you can

Re: [ansible-project] ansible adhoc and run_once how to ?

2018-09-20 Thread Kai Stian Olstad
On 21.09.2018 06:14, Narahari 'n' Savitha wrote: Thank you in advance for your time and help. In ansible adhoc command how do I specify run_once ? I can do that in ansible playbook but adhoc I dont now how to do that. Any suggestions is very helpful. run_once is the same as just specifying

[ansible-project] Re: Unable to copy the files using the network path.

2018-09-20 Thread Shyam
> > Hi Jordan, > Thanks for your reply. I used the Kerberos authentication method to avoid the double hope authentication issues. For the first time the playbook executed successfully and copied the files to remote path. later when I tried to execute the same playbook, the files were not

[ansible-project] Re: Send commands via CLI over SSH to unsupported network device

2018-09-20 Thread sign@L
Thanks to everyone that replied and emailed me. I couldn't get the *expect *module to do what I wanted, but '*raw*' worked perfectly. I needed to do three things on these network devices; 1) backup the current config via SSH, using a single line command 'cfg -s' and save the resulting output to

[ansible-project] ansible adhoc and run_once how to ?

2018-09-20 Thread Narahari 'n' Savitha
Thank you in advance for your time and help. In ansible adhoc command how do I specify run_once ? I can do that in ansible playbook but adhoc I dont now how to do that. Any suggestions is very helpful. -Narahari -- You received this message because you are subscribed to the Google Groups

[ansible-project] How to make ansible-playbook quiet

2018-09-20 Thread Narahari 'n' Savitha
Thank you in advance for your time and attention. In ansible-playbook command, how do I stop the ** lines from showing up ? I really want very minimal output. -N -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from

[ansible-project] How can I remove a certificate mapping?

2018-09-20 Thread Gary Mo
In these days, I tried to use ansible to manage windows server. But met trouble after I generate a certificate: https://docs.ansible.com/ansible/latest/user_guide/windows_winrm.html#generate-a-certificate After mapping the certificate by command: $username = "username" $password =

[ansible-project] Re: Unable to copy the files using the network path.

2018-09-20 Thread Jordan Borean
2 things; 1. You are unable to copy from a network path due to the double hop issue There are numerous docs out there detailing the double hop/credential delegation issue with WinRM, we have some details here as well

[ansible-project] Unable to copy the files using the network path.

2018-09-20 Thread Shyam
Hello, Im unable to copy the files from the windows host to network path. Initially I tried to copy the files using NTLM authentication method and got the error as "Access denied". After using the Kerberos authentication method im able to copy the files successfully to the network path.

Re: [ansible-project] Re: WinRM Connection Error

2018-09-20 Thread naga venkatesh naidu
I will try this Ankit. Thank you. On Thursday, 20 September 2018 09:45:01 UTC-4, Ankit Vashistha wrote: > > Try adding the following and recheck with ntlm > ansible_winrm_message_encryption: auto > > On Thu, Sep 20, 2018, 7:09 PM 'J Hawkesworth' via Ansible Project < > ansible...@googlegroups.com

[ansible-project] Re: WinRM Connection Error

2018-09-20 Thread naga venkatesh naidu
Thank you @Hawkesworth. Yeah this might be the dependensy issue with winrm on latest ansible version. i worked absolutely fine when i used ansible 2.4.2.1 version with pywinrm[0.2.0] with basic authentication. But kerberos authentication is not supported in that version. On Thursday, 20

Re: [ansible-project] How to syntax check list of tasks

2018-09-20 Thread Andrew Latham
Maybe something like this: python -c 'import yaml,sys;yaml.safe_load(sys.stdin)' < common-tasks.yml On Thu, Sep 20, 2018 at 1:15 AM wrote: > This might be in the docs, but I cannot find it. I have the following > files: > > first-playbook.yml > second-playbook.yml > common-tasks.yml > >

[ansible-project] Using junos_config or netconf_config for configuration management on Juniper devices

2018-09-20 Thread chandrasekhar vajpayee madduri
Hi, I am trying to use ansible for configuration management on JUNOS devices. Getting below error and need help in resolving. *ansible-playbook 2.5.4 config file = /etc/ansible/ansible.cfg configured module search path =

[ansible-project] Module for collecting logs from CISCO devices

2018-09-20 Thread Bilal ahmed
*Hi guys,* Is there any module that collects specific logs (interface or Protocol i.e OSPF, BGP etc up/down) from Cisco Devices? I need to monitor my network using Ansible, any suggestions? BR, Bilal AHMED. -- You received this message because you are subscribed to the Google Groups

Re: [ansible-project] Re: WinRM Connection Error

2018-09-20 Thread Ankit Vashistha
Try adding the following and recheck with ntlm ansible_winrm_message_encryption: auto On Thu, Sep 20, 2018, 7:09 PM 'J Hawkesworth' via Ansible Project < ansible-project@googlegroups.com> wrote: > Can you run > > ansible windows -m win_ping -v > > This should return the stack trace. > > My

[ansible-project] Re: WinRM Connection Error

2018-09-20 Thread 'J Hawkesworth' via Ansible Project
Can you run ansible windows -m win_ping -v This should return the stack trace. My guess is one of your keberos-related dependencies is out of date. Sometimes the kerberous libraries are installed with the operating system, so you may need to double check the dependencies you have

[ansible-project] How to force deployment via ansible playbook with ECS modules?

2018-09-20 Thread ljubon
Hello, I would like to check if it's possible to force deployment via ansible playbook with ECS modules? *example:* cluster: test-cluster services: test-service region: us-east-2 I know it can be done via AWS CLI, but I want to do it with ansible. AWS CLI command* - aws ecs update-service

[ansible-project] New vm's not created when connection vars are defined

2018-09-20 Thread Ruben
I use Ansible to create instances (vm's) on Google cloud. When I define the instances to create in my inventory file and put in the connection details in there, for later use, the instances are not created. Ansible assumes (I guess) that the instances already exist. So, this inventory file

[ansible-project] Getting Error while running playbook

2018-09-20 Thread SUMIT SAHAY
Hi All, I am getting error while running the ansible playbook by using ssh command error is like *host key verification failed.* Looking forward ro reply. Thanks & Regards Sumit Sahay 7044112109 -- You received this message because you are subscribed to the Google Groups "Ansible Project"

[ansible-project] How to syntax check list of tasks

2018-09-20 Thread furstenheim
This might be in the docs, but I cannot find it. I have the following files: first-playbook.yml second-playbook.yml common-tasks.yml common-tasks.yml is a list of tasks that is used in first-playbook.yml and second-playbook.yml through include_tasks common-tasks.yml I'd like to syntax check