[ansible-project] Failed. Error Code 1816 - Uninstalling software

2019-01-15 Thread shashank mishra
Hi All, I am uninstalling a software using Ansible from a windows machine. During un-installation internally we unregister/stop services. We are getting error in this. "Failed Error Code: 1816". The command we are using to stop/unregister: - net stop ServiceName /Yes - AppName /unregserver I

Re: [ansible-project] Ansible Shell With Expect

2019-01-15 Thread Freddie Eisa
One more update. Looks like most of this is working now besides the final part. My assumption is I need to wildcard or use a different escape character. Please provide any feedback - name: Configure Orion Agent shell: | set timeout 30 spawn service swiagentd init expect "Choose

Re: [ansible-project] --skip-tags equivalent inside playbooks

2019-01-15 Thread Krisztián Tóth
Is this feature implemented yet? Does somebody know anything about it? 2015. december 18., péntek 0:48:06 UTC+1 időpontban Igor Cicimov a következőt írta: > > Yeah, for sure there can be some workarounds but very tedious ones. Your > example can work but needs to be thought of at the very

[ansible-project] Re: Ansible s3_sync to upload multiple files

2019-01-15 Thread Kishore Ponniah
Hi everyone, I tried to debug s3_sync but one thing I noticed is s3_sync module does not have a destination path. It only has file_root and I ran this command from the source path "aws s3 sync . s3://bucketname//test/", it uploaded all the files to the destination. Then after I ran the

Re: [ansible-project] Ansible Shell With Expect

2019-01-15 Thread Freddie Eisa
We are a little further, the second expect is not working - name: Configure Orion Agent shell: | set timeout 30 spawn service swiagentd init expect "Choose an option>" send "2\n" expect "Enter Orion Poller Hostname/IP" send "orion.hq.domain.com" exit 0 args:

[ansible-project] Windows Remote Desktop Access for Users using Ansible

2019-01-15 Thread Subhi Andrews
Hi folks, I am trying to configure RDP access to users who need to access to certain hosts. Is there a way to automate this using Ansible? Thanks, Subhi. -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and

[ansible-project] skip_unreachable ?

2019-01-15 Thread Adam E
Hi there. My scenario is that I have a hundreds of locations on various different networks that I want to run some plays against. In almost all circumstances I will have 2-3% of these sites that I cannot connect to due to network related issues.I don't want to create exceptions/errors in

[ansible-project] Re: Issuing creating domain users with module win_dsc and resource xADuser parsing pscredentials

2019-01-15 Thread Jordan Borean
That error you just received is because you still have Password defined when you need to have only 'Password_username' and 'Password_password'. After removing the duplicate Password entry I then come across another issue "The server could not be contacted.". I've added DomainController and

[ansible-project] Gettting idempotent error while testing using molecule in travis ci

2019-01-15 Thread b hemanth
Hello team, i have added creates argument for the command modules as below for idempotent test, this ansible role is working good when tested in vagrant environment. - name: Cloning a repository > git: > repo: "{{ ci_repo }}" > dest: "{{ ci_path }}" > clone: true > version:

[ansible-project] Ansible Shell With Expect

2019-01-15 Thread Freddie Eisa
We are trying the following - name: Configure Orion Agent shell: | set timeout 30 spawn service swiagentd init expect "Choose an option>" send "2" exit 0 args: executable: /usr/bin/expect We are able to spawn the process but it looks like the expect part

[ansible-project] autohealing in gcloud modules

2019-01-15 Thread katja . loeffler
Help! I have been looking and looking and I cannot find anything. I created my gcloud instance templates, I created a managed instance group, I do have health checks. How can I enable autohealing in my instance group manager (or gce_mig or ...) and link the health check with it? (Other than