[ansible-project] Re: ec2_facts and Windows

2015-09-22 Thread Rob White
When running against windows hosts, Ansible will only find modules that have a 
.ps1 prefix. ec2_facts is a Linux only module. 

I'm actually working on aa windows version at the moment and will hopefully 
submit a PR in the next week or so. 

-- 
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...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/af74b00d-cedb-4246-96ca-d38906c4800f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] Re: ec2_facts and Windows

2015-09-22 Thread Rob White
When running against windows hosts, Ansible will only find modules that have a 
.ps1 prefix. ec2_facts is a Linux only module. 

I'm actually working on aa windows version at the moment and will hopefully 
submit a PR in the next week or so. 

-- 
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...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/aedd0df9-e2cf-48c1-82b4-257b195ffba9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] Re: ec2_facts and Windows

2015-08-28 Thread J Hawkesworth
Hey

If you are using ansible from a  source (git checkout) then just do what 
the message says and run

git submodule update --init --recursive

This will then pick up the modules (which are stored in git submodules) and 
you should be good to go.

Hope that helps,

Jon

On Wednesday, August 26, 2015 at 9:31:49 PM UTC+1, Julie Reier wrote:

 I'm hoping that I can get some help with using ansible to manage AWS 
 Windows instances.

 Firstly, l am new to ansible and Windows systems administration, but I'm 
 pretty good with linux.

 I am trying to write a playbook that deploys release artifacts to a 
 Windows host. One of the first tasks in the playbook is to remove the 
 Windows instance from a load balancer. I've already had success with 
 removing a Linux instance from a load balancer using ec2_facts action and 
 the ec2_elb module. When I try to run the same tasks with a Windows host, 
 I'm getting this error for ec2_facts:

 fatal: [10.200.0.38] = module ec2_facts not found in configured module 
 paths.  Additionally, core modules are missing. If this is a checkout, 
 run 'git submodule update --init --recursive' to correct this problem.



 Any advice and guidance will be very much appreciated. Thanks!



-- 
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...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/442b517a-8c01-418f-afe1-0991ac8d5337%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] Re: ec2_facts and Windows

2015-08-28 Thread Julie Reier

J Hawkesworth j.r.hawkesworth at googlemail.com writes:

 
 
 HeyIf you are using ansible from a  source (git checkout) then just do
what the message says and rungit submodule update --init --recursiveThis
will then pick up the modules (which are stored in git submodules) and you
should be good to go.Hope that helps,JonOn Wednesday, August 26, 2015 at
9:31:49 PM UTC+1, Julie Reier wrote:I'm hoping that I can get some help with
using ansible to manage AWS Windows instances.Firstly, l am new to ansible
and Windows systems administration, but I'm pretty good with linux.I am
trying to write a playbook that deploys release artifacts to a Windows host.
One of the first tasks in the playbook is to remove the Windows instance
from a load balancer. I've already had success with removing a Linux
instance from a load balancer using ec2_facts action and the ec2_elb module.
When I try to run the same tasks with a Windows host, I'm getting this error
for ec2_facts:
 fatal: [10.200.0.38] = module ec2_facts not found in configured module
paths.  Additionally, core modules are missing. If this is a checkout, run
'git submodule update --init --recursive' to correct this problem.
 
 Any advice and guidance will be very much appreciated. Thanks!
 
 
 
 
 

Thanks Jon. We did try that, but we are still getting the error about
ec2_facts not found in configured module paths. Note that the ec2_facts
module is found when running for linux hosts.



-- 
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...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/loom.20150828T160523-553%40post.gmane.org.
For more options, visit https://groups.google.com/d/optout.