Power Shell version 3.0
Unable to run ConfigureRemotingForAnsible.ps1 on windows hosts. The Power Shell window closes after some execution.
Checked services on machine: winrm service running.
According to Sys. Admin: Ansible machine has no firewall restrictions (can communicate to any and listen from any)
--
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-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/17490ede-03b5-4951-82cb-01cc5eded027%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
ansible_winrm_transport: Kerberos
and now I have this error:
VATCS029.ARITST.LCL | UNREACHABLE! => {
"changed": false,
"msg": "kerberos: the python kerberos library is not installed",
"unreachable": true
yum -y install python-devel krb5-devel krb5-libs krb5-workstation
plaintext: the specified credentials were rejected by the server
plaintext: HTTPConnectionPool(host='10.12.12.12', port=5985): Max retries exceeded with url: /wsman (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f02859474d0>: Failed to establish a new connection: [Errno 111] Connection refused',))",
kerberos: the python kerberos library is not installed
# install the required System packages for requests-kerberos
sudo yum install gcc python-devel krb5-devel krb5-workstation python-devel
# install the requests-kerberos library
pip install pywinrm[kerberos]
If I should do a new ansible server setup on a CentOS and try working from start?
Hi All,Can anyone help to sort this.I am trying to achieve the installation of a software to a windows instance at provisiong time. Software is deploy but not installed.Below i got the error when running the playbook:-PLAY [localhost] *******************************************************************************************************************************************************
TASK [ensure instances are running] ************************************************************************************************************************************
changed: [localhost]
TASK [ensure Automation_Anywhere_Enterprise_Client is installed via win_package] ***************************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "module_stderr": "/bin/sh: powershell: command not found\n", "module_stdout": "", "msg": "MODULE FAILURE", "rc": 127}
to retry, use: --limit @/root/awswinins.retry
PLAY RECAP *************************************************************************************************************************************************************
localhost : ok=1 changed=1 unreachable=0 failed=1- hosts: localhost
gather_facts: no
vars:
target_aws_region: "us-east-1"
vars_files:
- secret.yml
tasks:
- name: ensure instances are running
ec2:
aws_access_key: " "
aws_secret_key: " "
key_name: " "
region: " "
image: "ami-050202fb72f001b47"
instance_type: t2.micro
group_id: "sg-00cfe7b7ee9a5aea8"
wait: yes
wait_timeout: 500
exact_count: 1
vpc_subnet_id: " "
instance_profile_name: " "
count_tag:
Name: win-ami
instance_tags:
Name: win-ami
user_data: "{{ lookup('template', 'userdata.txt.j2') }}"
register: ec2_result
- name: ensure Automation_Anywhere_Enterprise_Client is installed via win_package
win_package:
path: C:\Windows\Temp\Automation_Anywhere_Enterprise_Client_10.7.0.exe
product_id: Autmation_Anywhere_Enterprise_Client
state: presentThanks and Regards,Akshay Kaushik
--
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-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/9164dab1-c838-4247-961e-3b6d58241679%40googlegroups.com.