[user@server ansible]$ ansible-playbook windows_ping.yaml -i hosts.txt
PLAY [ping test]
*
Can someone please help me..
On Thursday, May 23, 2019 at 12:55:09 PM UTC-7, Nk Chitturi wrote:
>
> [user@server ansible]$ ansible-playbook windows_ping.yaml -i hosts.txt
>
> PLA
I am trying to run ping command on my windows host from linux controller
i created inventory.txt file
[win]
servername
[win:vars]
ansible_user=myusername
ansible_password=password
ansible_connection=winrm
ansible_winrm_transport=basic
ansible_winrm_server_cert_validation=ignore
ansible_port=5986
able=yes
>
> This should fix your problem.
>
> Kind Regards
> Ameya Agashe
>
> On Fri, Oct 26, 2018 at 7:35 AM Nk Chitturi wrote:
>
>> I am trying to run ping command on my windows host from linux controller
>>
>> i created inventory.txt file
>>
I haven’t tried yet, I am working with my netops and infra team about it.
Sent from my iPhone
> On Nov 1, 2018, at 11:54 AM, Mike Fennemore wrote:
>
> ansible_winrm_transport:ntlm try that instead of ansible_winrm_transport:basic
>
> --
> You received this message because you are subscribed t
Hello All,
can we have have a play book to restart kestrel service.
-
name: Restart kestrelservice
hosts: all
tasks:
-
name: start Kestrel service
systemd:
comamnd: sudo systemctl restart kestrel-appname.service
start: restarted
dae
On Thursday, November 1, 2018 at 5:20:06 PM UTC-7, Nk Chitturi wrote:
>
> Hello All,
>
> can we have have a play book to restart kestrel service.
>
> -
> name: Restart kestrelservice
> hosts: all
> tasks:
> -
> name: start
So what should I use ??
Sent from my iPhone
> On Nov 2, 2018, at 9:21 AM, Brian Coca wrote:
>
> You are mixing things in there, systemd module does NOT have 'command' or
> 'start' options
>
> --
> --
> Brian Coca
> --
> You received this message because you are subscribed to the
can i change it to service
-
name: Restart kestrelservice
hosts: all
tasks:
-
name: start Kestrel service
service:
command: sudo systemctl restart kestrel-axprocessapi.service
start: restarted
name: kestrel-axprocessapi.service
On Fr
Brian, I am very new to anisble but in the link you provided i can see some
examples with systemd, it has state mentioned, but how can i use command to
restart the service
- name: restart service cron on centos, in all cases, also issue
daemon-reload to pick up config changes
systemd:
state:
Try out the examples and enjoy!
>
> Dick
>
>
> On Fri, 2 Nov 2018 at 19:39, Nk Chitturi >
> wrote:
>
>> Brian, I am very new to anisble but in the link you provided i can see
>> some examples with systemd, it has state mentioned, but how can i use
>>
Hello All, did anyone figured out working with ansible on windows host, if
so please give me the process and info how you guys get this working on
windows.
thanks,
Narmada
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe fr
Thanks Jordan, yeah i am trying to use windows as hosts and i spent lot of
time setting up windows machines as hosts. i tried kerberos as well but no
luck.
On Monday, November 12, 2018 at 1:32:59 PM UTC-8, Jordan Borean wrote:
>
> Depends on what you mean by working on Windows, Ansible can remot
>
>
> On Mon, Nov 12, 2018 at 3:52 PM Nk Chitturi > wrote:
>
>> Thanks Jordan, yeah i am trying to use windows as hosts and i spent lot
>> of time setting up windows machines as hosts. i tried kerberos as well but
>> no luck.
>>
>> On Monday, November
krb5.config
includedir /etc/krb5.conf.d/
[logging]
default = FILE:/var/log/krb5libs.log
kdc = FILE:/var/log/krb5kdc.log
admin_server = FILE:/var/log/kadmind.log
[libdefaults]
dns_lookup_realm = false
ticket_lifetime = 24h
renew_lifetime = 7d
forwardable = true
rdns = false
default_realm
Thanks Jordan, i tried like what you mentioned above, but this is the error
I am getting
fatal: [servername]: UNREACHABLE! => {"changed": false, "msg": "Kerberos
auth failure for principal usern...@xyz.com with subprocess: kinit: Cannot
find KDC for realm \"xyz.com\" while getting initial credenti
Now i am getting another new error, somehow i amble to create a kinit
ticket but the error is
(Caused by NewConnectionError(': Failed to establish a new connection: [Errno
111] Connection refused',))", "unreachable": true}
On Tue, Nov 13, 2018 at 11:48 AM Jordan Borean wrote:
> So that error is
PS H:\> winrm enumerate winrm/config/listener
Listener [Source="GPO"]
Address = *
Transport = HTTP
Port = 5985
Hostname
Enabled = true
URLPrefix = wsman
CertificateThumbprint
ListeningOn = 0.00.000.000, , 127.0.0.1, ::1,
fe80::5efe:10.33.138.118%5, fe80::7008:2200:
::1,
On Tue, Nov 13, 2018 at 2:27 PM lucas.adam.jackson <
lucas.adam.jack...@gmail.com> wrote:
> Your problem is you're not listening on port 5986
>
>
>
> Sent from my Samsung Galaxy smartphone.
>
> Original message
> From: Nk Chitturi
> Date: 2018-1
script to use for configuring winrm for ansible
>
>
> https://github.com/ansible/ansible/blob/devel/examples/scripts/ConfigureRemotingForAnsible.ps1
>
> You can configure the listener manually if you prefer but script works well
>
>
>
> Sent from my Samsung Galaxy smartp
Thanks all,
I am able to run ping module on windows machines.
On Tuesday, November 13, 2018 at 3:47:28 PM UTC-8, Nk Chitturi wrote:
>
> I ran this script multiple times on my windows machine but no use
> if i change in my vars to http, it is giving very big error
> [nchitturi@sj
Lucas or someone can help me with this, currently on my krb5.config i added
only 1 h...@domain.com, but if i want to run on multiple windows machines
do i need to add all my hosts on krb5.config file.
thanks,
Narmada
On Tue, Nov 13, 2018 at 4:21 PM Nk Chitturi wrote:
> Thanks all,
> I a
gt;
>
> You can configure the listener manually if you prefer but script works well
>
>
>
> Sent from my Samsung Galaxy smartphone.
>
> Original message
> From: Nk Chitturi >
> Date: 2018-11-13 6:21 PM (GMT-05:00)
> To: ansible...@googleg
thank you.
May be i made a chilly mistake in writing my playbook, it is giving syntax
error
-
name: Stop Apppools
hosts: windows-dev
become: true
tasks:
- name: Stop application pool
win_iis_webpool:
name: "apppoolname"
state: stopped
[image: image.png]
On Wed
no luck still same error
On Wed, Nov 14, 2018 at 2:37 PM lucas.adam.jackson <
lucas.adam.jack...@gmail.com> wrote:
> Looks like you have extra white space between hyphen and name
>
>
>
> Sent from my Samsung Galaxy smartphone.
>
> Original message ----
Hello All,
what is the difference between win_dsc and win_package.
thanks,
Narmada
--
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
On Tue, Nov 27, 2018 at 2:47 PM Lucas Jackson
wrote:
> win_package is designed to install packages using exe and msi files where
> as win_dsc is for PowerShell Desired State Configurations
>
> On Tue, Nov 27, 2018 at 4:55 PM Nk Chitturi wrote:
>
>> Hello All,
>>
>>
Thanks Jordan it worked when i used the redirection url (which you provided
me in above email) in my playbook and it got installed on target servers.
but where did you find it is getting redirected to another url.
On Tue, Nov 27, 2018 at 3:24 PM Jordan Borean wrote:
> Hi
>
> You are pointing to
I am unable to copy to clipboard..
On Tuesday, November 27, 2018 at 3:49:35 PM UTC-8, Lucas Jackson wrote:
>
> [image: image.png]
> right click on Try again and copy link to clipboard
>
> On Tue, Nov 27, 2018 at 6:37 PM Nk Chitturi > wrote:
>
>> Thanks Jorda
[image: image.png]
this is what i see.
On Tue, Nov 27, 2018 at 4:05 PM Nk Chitturi wrote:
> I am unable to copy to clipboard..
>
> On Tuesday, November 27, 2018 at 3:49:35 PM UTC-8, Lucas Jackson wrote:
>>
>> [image: image.png]
>> right click on Try again and copy
Hello,
I want to try using Ansible to publish the sln and copy to Linux deploy
servers.
please suggest me some way to use Ansible for my build and deployment
process.
thanks,
Narmada
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To uns
Use Kerbors it works.
Sent from my iPhone
> On Dec 2, 2018, at 4:27 PM, sateeshaz...@gmail.com wrote:
>
> hi,
>
> [webserver]
> ssk.ms.com
>
> [webserver:vars]
> ansible_user=windows
> ansible_password=PWD
> ansible_connection=winrm
> ansible_winrm_transport=basic
> ansible_winrm_scheme=http
>
32 matches
Mail list logo