Category : ansible

I’m using ansible 2.9.27 version, installed pywinrm, requests modules already with below version: pywinrm 0.4.2 requests 2.27.1 requests-ntlm 1.1.0 I’m trying win_ping from ansible control node but it is failing. For the same windows host, we are able to authenticate from different ansible control node. — – name: Tets hosts: 172.17.92.69 vars: ansible_user: [email protected] ansible_password: ..

Read more

I am running my ansible on an AWS EC2 linux machine which connects to another AWS EC2 Windows machine to copy a file to S3 bucket my tasks/main.yml file looks like below — # tasks file for postgres – name: Copy a single file win_copy: src: "test-script.sql" dest: "C:omnistore-selenium/pg_scripts.sql" – name: Simple PUT operation amazon.aws.aws_s3: ..

Read more

I´ve configure this om my client and used Ansible for window10 with wsl: [web] server01 [web:vars] ansible_user="[email protected]" ansible_password=somepassword ansible_connection=winrm ansible_winrm_transport=credssp ansible_winrm_cert_validation=ignore And done this on target server01 – see screenshot CreddSSP on Target server01 I´ve added svc-ansible account to local administrator group on server01 But when Im trying ansible web -m win_ping from client i ..

Read more

After tried many ways to run a script in a windows pc with Ansible, couldn’t make it work. Does someone know what can I do to succeed? Here’s what I have: — Linux Ubuntu submodule running on Windows with Ansible installed — Ansible host file with the content: [uwp] 192.20.0.98 192.20.0.72 [uwp:vars] ansible_user=user ansible_password=********** ansible_connection=winrm ..

Read more

We have installed ansible.windows and are configuring a Web Application in IIS and do not seem to be able to set the Enabled Protocols. It always uses the default of http and we are specifying net.tcp. We have tried a few variations but none seems to work. behavior.enabled_Protocols: net.tcp enabled_protocols: net.tcp protocols: net.tcp behavior_enabled_Protocols: net.tcp ..

Read more