[ansible-project] Re: wait_for a windows file

2017-06-08 Thread Stavros
t; was not running after the reboot, so everything was "clean" again. Hope it helps, Stavros On Thursday, June 8, 2017 at 5:48:18 PM UTC+2, Paul Farrington wrote: > > Stavros, did you ever get this resolved as i have this exact issue now. > > On Wednesday, 10 February 2016 16:35:

Re: [ansible-project] Re: Ansible windows modules

2016-09-06 Thread Stavros
find an update with the KB number according to the Windows OS (2012 or 8.1 or ...) version that your target host has. Best Regards Stavros -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop

[ansible-project] Re: Ansible windows modules

2016-02-29 Thread Stavros
erver after the installation, so it's up to you to set the /NoRestart parameter...or not.. Stavros -- 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

[ansible-project] Re: Ansible windows modules

2016-02-24 Thread Stavros
I'm using the following code for installing msi's, e.g.: $msi = @('D:\Temp\Pscx-3.2.0.msi', 'D:\Temp\notep.msi') foreach ($msifile in $msi) { Start-Process -FilePath "$env:systemroot\system32\msiexec.exe" -ArgumentList "/i `"$msifile`"

[ansible-project] Re: Ansible windows modules

2016-02-23 Thread Stavros
overview of the steps: - copy this exe file to the remote host - extract it - in case of W2012R2 you will need the x64-Windows8.1-KB2934520-x64.msu, which you can install as next step - finally the remote host has to be rebooted Stavros -- You received this message because you are subscribed to

[ansible-project] wait_for a windows file

2016-02-10 Thread Stavros
n it works fine: - name: Wait for remote host wait_for: host={{ floating_ip }} port=5986 state=started Any idea, how to wait in Windows for a file until it is present? Thanks in advance! KR, Stavros -- You received this message because you are subscribed to the Google Groups &

Re: [ansible-project] [Ansible 2.0 RC3] os_server_facts module - is not a valid attribute for a Play

2016-01-11 Thread Stavros
Fyi, I got it finally working with the following playbook: - name: Retrieve facts about server instances from OpenStack hosts: localhost connection: local tasks: - name: Retrieve facts for all W* servers os_server_facts: server: W* register: result - debug:

Re: [ansible-project] [Ansible 2.0 RC3] os_server_facts module - is not a valid attribute for a Play

2016-01-07 Thread Stavros
Hi there, I upgraded to 2.0 RC3 and tested the os_server_facts module...and still get the same error: ERROR! 'os_server_facts' is not a valid attribute for a Play -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this g

Re: [ansible-project] [ansible-2.0.0-0.7.rc2] os_server_facts module - Syntax Error while loading YAML

2015-12-21 Thread Stavros
There is actually no more (for now) than these 4 lines: http://pastebin.com/download/uzxvCB9k -- 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-projec

Re: [ansible-project] [ansible-2.0.0-0.7.rc2] os_server_facts module - Syntax Error while loading YAML

2015-12-21 Thread Stavros
offending line appears to be: - os_server_facts: ^ here 'os_server_facts' is not a valid attribute?? The os_server_facts module exists in 2.0 as far I can see: /usr/lib/python2.7/site-packages/ansible/modules/core/cloud/openstack/os_server_facts.py Should I open an issue ticket? Stavros -- You

Re: [ansible-project] [ansible-2.0.0-0.7.rc2] os_server_facts module - Syntax Error while loading YAML

2015-12-18 Thread Stavros
I've tried that already...using spaces instead of tabs...but I still get the same error. I use actually already successfully some of the other cloud modules...but this one returns the same syntax error. Stavros -- You received this message because you are subscribed to the Google G

Re: [ansible-project] [ansible-2.0.0-0.7.rc2] os_server_facts module - Syntax Error while loading YAML

2015-12-17 Thread Stavros
Even the syntax without any tabs, empty spaces,... brings the same error: - os_server_facts: server: W1 - debug: var: openstack_servers The offending line appears to be: - os_server_facts: server: W1 ^ here Regards Stavros -- You received this message because you are subscribed to the

[ansible-project] [ansible-2.0.0-0.7.rc2] os_server_facts module - Syntax Error while loading YAML

2015-12-17 Thread Stavros
flavor: 4488da6d-6173-4112-8870-9f76d138ad00 key_name: 'oskey' nics: - net-id: 00d39765-718d-43c3-8256-6c73d4bb3752 admin:~/temp > Any idea, why the os_server_facts returns a syntax error? Regards Stavros -- You received this message because you ar