Re: [ansible-project] Ansible task seems to start weblogic but doesn't

2015-04-20 Thread Brian Coca
If these are services they should really use a service manager like
init, systemd, upstart, daemontools, supervisor, monit, runit, etc.
'manually' starting services is unreliable, pollutes their environment
with yours and makes checking them and/or stopping them also
unreliable.


-- 
Brian Coca

-- 
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/CAJ5XC8nbyOuSou%2BDfheC82_pc83RTLKrONT7J435tYr2Rrz8sw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] CMD module complains about exec format error

2015-04-20 Thread Loc Nguyen
Hi,

I have a task that copies a folder onto a virtual box machine and then uses 
the command module to execute a shell script in that remote folder. 
 Ansible always complains with,

msg: [Errno 8] Exec format error

I can easily ssh into that machine and run the same script.  The script 
does have executable mode attributes.  I've been banging my head against 
the wall trying to figure this out.  Anyone know what this problem is?

-Loc

-- 
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/4a3af21b-0436-4eaa-ad54-90aea882b97d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] copy module identical contents

2015-04-20 Thread Brian Coca
Yes, Ansible does a md5/sha1 of the files and compares them to figure
out if it needs to copy the file or not.

To point out any flaws in your play ...we would need to see your play.


-- 
Brian Coca

-- 
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/CAJ5XC8khfqF7Dt3r9a3cFmrnvErwsgFiVZP6f1sfwUi8rswJjw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] copy module identical contents

2015-04-20 Thread Brian Coca
so I'm guessing the problem is the jar and not the init script you
copy, are you sure you are not rebuilding the jar? some ways of
building them can change the file and it's md5/sha1 even when there is
no change in code.




-- 
Brian Coca

-- 
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/CAJ5XC8%3DKO_sfu9_vQji18DqKeY9MfeY6WomYOqhcTkuhLmJxYA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] copy module identical contents

2015-04-20 Thread louis gueye
Well actually I'm rebuilding it each time but I did not expect its sha1/md5 
to change each time.
But it makes sense after some thought: some config properties, based on the 
timestamp, are included in the jar thus generating a new checksum each time.
Now, I will base my verification on the git sha1.

Thank you a lot really.


Le mardi 21 avril 2015 00:46:33 UTC+2, Brian Coca a écrit :

 so I'm guessing the problem is the jar and not the init script you 
 copy, are you sure you are not rebuilding the jar? some ways of 
 building them can change the file and it's md5/sha1 even when there is 
 no change in code. 




 -- 
 Brian Coca 


-- 
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/0d49be89-2755-4582-bf5f-010413a69554%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] copy module identical contents

2015-04-20 Thread louis gueye
Hi all,

I have an issue with the ansible copy module.
I have a very fat binary (51Mo) that I need transfered from the ansible 
node manager to target nodes.
Unfortunately the copy occurs each time, even if the content is identical.
While browsing both documentation and user group I found out that ansible 
is supposed to be smarter: it uses an md5 checksum to decide wether it's 
needed to copy or skip when content is identical.

Can anybody confirm that behavior and under which condition it applies ? It 
will help me figure out what I'm doing wrong.

Thank you for your assistance.

Louis

-- 
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/c779a712-e502-4f78-990b-6cb5aa34acd8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] Ansible task seems to start weblogic but doesn't

2015-04-20 Thread Nicholas Irving
Hi
This is a problem i am also facing. It would appear that the command runs 
within a process group that is killed when ansible finishes the task. I have 
tried using nohup and  to run the command, whi choose works but because they 
are background processes i cannot tell if they are succesful. 

Another approach is async but i dont knkw how to ensure the command stays alive 
after the task has finished. 

This us a short fall that makes ansible a little harder to develop for as 
background tasks that under a normal shell default to root context are not in 
ansible.

I wish there a more supported way to make this work.

Nicholas Irving

-- 
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/c4454da4-7de1-4a0e-9d9e-7901ddad43eb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] registeration of DNS records in Active Directory DNS

2015-04-20 Thread Chris Church
I don't know of an Ansible module to handle this kind of update.  Are your
OpenStack instances running Windows or Linux?  And are you using Ansible
for any configuration of your AD server?

The following thread may offer some suggestions for ways to update DNS from
Linux instances:

http://serverfault.com/questions/276901/register-a-records-for-my-linux-box-on-my-windows-2008-dns-dhcp-server


If you're using Ansible to manage your AD server, you may be able to start
with some of these PowerShell examples to manage DNS:

http://blogs.technet.com/b/heyscriptingguy/archive/2010/09/13/manage-dns-in-a-windows-environment-by-using-powershell.aspx
https://technet.microsoft.com/en-us/library/jj649850.aspx


Hope that helps!


On Mon, Apr 20, 2015 at 10:52 AM, John Test johntest...@gmail.com wrote:

 Hello,
 I was wondering if there is an existing Ansible module to register records
 in Active Directory DNS.
 My workflow attempt is to create Openstack instances and register their
 DNS records in AD.

 Thank you

 --
 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/b5d8de56-f238-4131-b35a-487099a62ac2%40googlegroups.com
 https://groups.google.com/d/msgid/ansible-project/b5d8de56-f238-4131-b35a-487099a62ac2%40googlegroups.com?utm_medium=emailutm_source=footer
 .
 For more options, visit https://groups.google.com/d/optout.


-- 
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/CAH%2BKTJ5EbO9yUWPOHxfBi-xap6PYpRR_BLf%3Dy-6SCp6qEkQ4FA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] registeration of DNS records in Active Directory DNS

2015-04-20 Thread John Test
Are your OpenStack instances running Windows or Linux?  
Mostly Linux

And are you using Ansible for any configuration of your AD server?
No

So basically my option for automating this is to call a powershell script 
via the Ansible playbook that creates the instance ?
Would this be doable? Or am I looking at calling the DNS record creating 
powershell script from another python script.

The primary place these scripts are run is my Linux workstation (which is 
also Ansible Control).

Thanks



On Monday, April 20, 2015 at 4:41:57 PM UTC-4, Chris Church wrote:

 I don't know of an Ansible module to handle this kind of update.  Are your 
 OpenStack instances running Windows or Linux?  And are you using Ansible 
 for any configuration of your AD server?

 The following thread may offer some suggestions for ways to update DNS 
 from Linux instances:


 http://serverfault.com/questions/276901/register-a-records-for-my-linux-box-on-my-windows-2008-dns-dhcp-server


 If you're using Ansible to manage your AD server, you may be able to start 
 with some of these PowerShell examples to manage DNS:


 http://blogs.technet.com/b/heyscriptingguy/archive/2010/09/13/manage-dns-in-a-windows-environment-by-using-powershell.aspx
 https://technet.microsoft.com/en-us/library/jj649850.aspx


 Hope that helps!


 On Mon, Apr 20, 2015 at 10:52 AM, John Test johnt...@gmail.com 
 javascript: wrote:

 Hello,
 I was wondering if there is an existing Ansible module to register 
 records in Active Directory DNS.
 My workflow attempt is to create Openstack instances and register their 
 DNS records in AD.

 Thank you

 -- 
 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 javascript:.
 To post to this group, send email to ansible...@googlegroups.com 
 javascript:.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/ansible-project/b5d8de56-f238-4131-b35a-487099a62ac2%40googlegroups.com
  
 https://groups.google.com/d/msgid/ansible-project/b5d8de56-f238-4131-b35a-487099a62ac2%40googlegroups.com?utm_medium=emailutm_source=footer
 .
 For more options, visit https://groups.google.com/d/optout.




-- 
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/e5af2823-af77-4ea6-807a-3428179d2dbd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] Passing complex data (JSON) to a module

2015-04-20 Thread Jan-Piet Mens
How can I obtain a complex data structure within an Ansible module?

Given the following vars_file:

---
zones:
   - { zone: one.de,policy: rfc5011 }
   - { zone: thirteen.com,  policy: default }

with this playbook

---
- hosts:
  - localhost
  connection: local
  vars_files:
   - comdata-vars.yml
 
  tasks:
  - name: COMplex DATa
action: comdata zlist={{ zones }}
register: n
 
  - action: debug var=n.newdata

I'd like to get the `zones' data structure handed over to a module. I
have the following module snippet:

argument_spec = url_argument_spec()
argument_spec.update(
zlist= dict(required=True)
)
 
module = AnsibleModule(
argument_spec = argument_spec,
)
 
zlist = module.params['zlist']  # JSON??
 
res = []
for z in zlist:
res.append(z)
 
module.exit_json(changed=True, msg='OK', newdata=res)

The result is not at all what I expect (it's a list of characters). I've
tried forcing loading JSON where it says so in the comment, but
module.params['zlist'] isn't a JSON string. 

Thanks,

-JP

-- 
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/20150421053118.GB42085%40tiggr.ww.mens.de.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] Firewalls across multiple Linux Distros

2015-04-20 Thread Matthew Macdonald-Wallace
Hi all,

I'm working on a set of roles for my organisation and part of the work is 
configuring a secure base system.  

I want to be able to set some sensible defaults on a firewall and then 
have other roles open them up based on criteria from group_vars or similar.

Given that Ansible does not have a way of constructing a hash from across 
multiple roles and that these roles must work on RHEL, CentOS, Debian and 
Ubuntu, what is the best way to provision a firewall?

I have 
read 
https://groups.google.com/forum/#!searchin/ansible-project/firewall/ansible-project/dNgBYktNaBY/AEK0_Uiu0UoJ
 
and 
https://groups.google.com/forum/#!searchin/ansible-project/firewall/ansible-project/rkavS1H6AtA/ZIfhXrSRKTQJ
 
- both of which indicate that ferm is the way to go (although the wiki 
link that shows you how to do this appears to be offline at the moment) 
however I come from a Chef background so I'm really looking for something 
that works in the same way as https://github.com/opscode-cookbooks/firewall 
if possible.

The way that the Chef cookbook works is that you specify a firewall rule 
and it then works out whether it should be using UFW, Firewalld or some 
other format and applies that to the underlying system.  At the moment, the 
only way I can see of setting firewall rules officially in Ansible is to 
use the ufw module in tasks/debian.yml and the firewalld module in 
tasks/rhel.yml and then include those files in main.yml based on the OS 
that I detect. 

Does anyone have a smart way of doing this?

Thanks in advance,

Matt

-- 
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/00abb3c0-30c0-425b-b692-c63eba5d5b31%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] access local file from ansible custom module

2015-04-20 Thread jack
Thanks you so much, we will give a try.

On Saturday, April 18, 2015 at 10:45:05 AM UTC-7, Chris Church wrote:

 If you need to use a local file from your module, you may need to create 
 an action plugin along with your remote module.  The patch module, for 
 example, uses an action plugin to read the source file (when 
 remote_src=False) and copy it to the remote system before running the patch 
 module remotely:


 https://github.com/ansible/ansible/blob/devel/lib/ansible/runner/action_plugins/patch.py
 https://github.com/ansible/ansible-modules-extras/blob/devel/files/patch.py


 If you're thinking this custom module may be published or contributed back 
 to Ansible at some point, note that the action plugin API is changing for 
 v2:


 https://github.com/ansible/ansible/blob/devel/v2/ansible/plugins/action/patch.py



 On Fri, Apr 17, 2015 at 7:39 PM, jack jackm...@gmail.com javascript: 
 wrote:

 Hi,

 We are trying to deploying some custom modules which have a requirement 
 to access some local files? Is that possible?

 Thanks
 Jack

 -- 
 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 javascript:.
 To post to this group, send email to ansible...@googlegroups.com 
 javascript:.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/ansible-project/bb4a603b-c8f0-4bc2-a151-fcb51f905515%40googlegroups.com
  
 https://groups.google.com/d/msgid/ansible-project/bb4a603b-c8f0-4bc2-a151-fcb51f905515%40googlegroups.com?utm_medium=emailutm_source=footer
 .
 For more options, visit https://groups.google.com/d/optout.




-- 
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/9e3c5c77-95ff-465c-af2c-6b1c2948cdf4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] multi stage and variables

2015-04-20 Thread Josh Smift
BK But having general variables override specific variables simply does
BK not make any sense. I have seen no argument from the Ansible team that
BK supports this behavior on its merits.

Is the issue that general variables override specific variables, or just
that there isn't a way to express in the Ansibile INI inventory format
whether prod or web is more general or more specific?

One thing you could do is write a dynamic inventory script that
understands your particular precedence requirements.

  -Josh (j...@care.com)



This email is intended for the person(s) to whom it is addressed and may 
contain information that is PRIVILEGED or CONFIDENTIAL. Any unauthorized use, 
distribution, copying, or disclosure by any person other than the addressee(s) 
is strictly prohibited. If you have received this email in error, please notify 
the sender immediately by return email and delete the message and any 
attachments from your system.

-- 
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/21812.59102.855080.309045%40gargle.gargle.HOWL.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] Re: print template variable

2015-04-20 Thread ddffgpmfn
I'm aware of the debug module, but I need to debug a temporary template 
variable.

Is the answer that it cannot be 'printed' to the console and you have to 
just watch the file?

On Friday, April 17, 2015 at 3:40:47 PM UTC+1, Brian Coca wrote:

 then you don't want a template, use the debug: module. 



 -- 
 Brian Coca 


-- 
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/ced5feb7-227b-4a43-b133-5b8e889d45d5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] Bitwise Operator in Ansible

2015-04-20 Thread Rahul Patil
Hi,

Is there any example of Bitwise Operator in ansible playbook 

Best Regards,
Rahul Patil

-- 
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/a686b272-ff26-41c9-a069-8f83b6ed7795%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] registeration of DNS records in Active Directory DNS

2015-04-20 Thread John Test
Hello,
I was wondering if there is an existing Ansible module to register records 
in Active Directory DNS.
My workflow attempt is to create Openstack instances and register their DNS 
records in AD.

Thank you

-- 
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/b5d8de56-f238-4131-b35a-487099a62ac2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] Unable to symlink directory from role files

2015-04-20 Thread Paulo Borges
Hello list,

I have a role with the following structure:

$ tree
 .
 ├── files
 │   └── powerline
 │   └── [...]
 └── tasks
 └── main.yml


And my tasks file has, among other tasks, the following one:

- name: symlink custom config files
   file: src=powerline dest=~/.config/powerline state=link force=yes


When I execute this task, my ~/.config/powerline becomes:

ls -l ~/.config/powerline
 lrwxrwxrwx. 1 borges borges 9 Apr 20 14:45 /home/borges/.config/powerline
 - powerline


As you can see, it doesn't resolve to the correct place (apparently it's
using a relative smylink). How can I specify `file` to use absolute paths
to role files without hardcode the entire path? Or there is another
solution to this problem?

Thank you,
Paulo

-- 
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/CACqjoVmzyOfDjZKzmc3tBe%2BfM-6cEG_LGoj%3Dwt2Dbus%3DSmYX4Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] 1.9.0.1 with windows and powershell - scripts are disabled

2015-04-20 Thread Daniel Furze
I'm getting the error message

x.ps1 cannot be loaded because running scripts is disabled on this system.

downgrading to 1.8.4 and everything works properly again.

All I'm doing is spinning up a new windows 2012 r2 ec2 instance then 
running the Configure remoting  ps1 script then trying to run any of the 
win_xxx tasks.


PLAY [configure iis server] 
 ***


 GATHERING FACTS 
 ***

 10.x.x.x ESTABLISH WINRM CONNECTION FOR USER: Administrator on PORT 5986 
 TO 10.x.x.x

 10.x.x.x WINRM CONNECT: transport=plaintext 
 endpoint=https://10.x.x.x:5986/wsman

 10.x.x.x REMOTE_MODULE setup

 10.x.x.x EXEC (New-Item -Type Directory -Path $env:temp -Name 
 ansible-tmp-1429543693.74-212404161729602).FullName | Write-Host 
 -Separator '';

 10.x.x.x WINRM EXEC 'PowerShell' ['-NoProfile', '-NonInteractive', 
 '-EncodedCommand', 
 'KABOAGUAdwAtAEkAdABlAG0AIAAtAFQAeQBwAGUAIABEAGkAcgBlAGMAdABvAHIAeQAgAC0AUABhAHQAaAAgACQAZQBuAHYAOgB0AGUAbQBwACAALQBOAGEAbQBlACAAIgBhAG4AcwBpAGIAbABlAC0AdABtAHAALQAxADQAMgA5ADUANAAzADYAOQAzAC4ANwA0AC0AMgAxADIANAAwADQAMQA2ADEANwAyADkANgAwADIAIgApAC4ARgB1AGwAbABOAGEAbQBlACAAfAAgAFcAcgBpAHQAZQAtAEgAbwBzAHQAIAAtAFMAZQBwAGEAcgBhAHQAbwByACAAJwAnADsA']

 10.x.x.x WINRM RESULT Response code 0, out C:\Users\Administrat, err 
 

 10.x.x.x PUT /var/folders/m4/x529c_j11kb3h691d7r6sxmmgn/T/tmpS586j2 
 TO 
 C:\Users\Administrator\AppData\Local\Temp\ansible-tmp-1429543693.74-212404161729602\\setup

 10.x.x.x WINRM PUT 
 /var/folders/m4/x529c_j11kb3h691d7r6sxmmgn/T/tmpS586j2 to 
 C:\Users\Administrator\AppData\Local\Temp\ansible-tmp-1429543693.74-212404161729602\\setup.ps1
  
 (offset=0 size=2033)

 10.x.x.x WINRM PUT 
 /var/folders/m4/x529c_j11kb3h691d7r6sxmmgn/T/tmpS586j2 to 
 C:\Users\Administrator\AppData\Local\Temp\ansible-tmp-1429543693.74-212404161729602\\setup.ps1
  
 (offset=2033 size=2033)

 10.x.x.x WINRM PUT 
 /var/folders/m4/x529c_j11kb3h691d7r6sxmmgn/T/tmpS586j2 to 
 C:\Users\Administrator\AppData\Local\Temp\ansible-tmp-1429543693.74-212404161729602\\setup.ps1
  
 (offset=4066 size=2033)

 10.x.x.x WINRM PUT 
 /var/folders/m4/x529c_j11kb3h691d7r6sxmmgn/T/tmpS586j2 to 
 C:\Users\Administrator\AppData\Local\Temp\ansible-tmp-1429543693.74-212404161729602\\setup.ps1
  
 (offset=6099 size=2033)

 10.x.x.x WINRM PUT 
 /var/folders/m4/x529c_j11kb3h691d7r6sxmmgn/T/tmpS586j2 to 
 C:\Users\Administrator\AppData\Local\Temp\ansible-tmp-1429543693.74-212404161729602\\setup.ps1
  
 (offset=8132 size=1114)

 10.x.x.x PUT /var/folders/m4/x529c_j11kb3h691d7r6sxmmgn/T/tmpQ9kh0Z 
 TO 
 C:\Users\Administrator\AppData\Local\Temp\ansible-tmp-1429543693.74-212404161729602\\arguments

 10.x.x.x WINRM PUT 
 /var/folders/m4/x529c_j11kb3h691d7r6sxmmgn/T/tmpQ9kh0Z to 
 C:\Users\Administrator\AppData\Local\Temp\ansible-tmp-1429543693.74-212404161729602\\arguments
  
 (offset=0 size=2)

 10.x.x.x EXEC  
 C:\Users\Administrator\AppData\Local\Temp\ansible-tmp-1429543693.74-212404161729602\\setup.ps1
  
 C:\Users\Administrator\AppData\Local\Temp\ansible-tmp-1429543693.74-212404161729602\\arguments;
  
 Remove-Item 
 C:\Users\Administrator\AppData\Local\Temp\ansible-tmp-1429543693.74-212404161729602\
  
 -Force -Recurse;

 10.x.x.x WINRM EXEC 'PowerShell' ['-NoProfile', '-NonInteractive', 
 '-EncodedCommand', 
 'JgAgAEMAOgBcAFUAcwBlAHIAcwBcAEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAXABBAHAAcABEAGEAdABhAFwATABvAGMAYQBsAFwAVABlAG0AcABcAGEAbgBzAGkAYgBsAGUALQB0AG0AcAAtADEANAAyADkANQA0ADMANgA5ADMALgA3ADQALQAyADEAMgA0ADAANAAxADYAMQA3ADIAOQA2ADAAMgBcAFwAcwBlAHQAdQBwAC4AcABzADEAIABDADoAXABVAHMAZQByAHMAXABBAGQAbQBpAG4AaQBzAHQAcgBhAHQAbwByAFwAQQBwAHAARABhAHQAYQBcAEwAbwBjAGEAbABcAFQAZQBtAHAAXABhAG4AcwBpAGIAbABlAC0AdABtAHAALQAxADQAMgA5ADUANAAzADYAOQAzAC4ANwA0AC0AMgAxADIANAAwADQAMQA2ADEANwAyADkANgAwADIAXABcAGEAcgBnAHUAbQBlAG4AdABzADsAIABSAGUAbQBvAHYAZQAtAEkAdABlAG0AIAAiAEMAOgBcAFUAcwBlAHIAcwBcAEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAXABBAHAAcABEAGEAdABhAFwATABvAGMAYQBsAFwAVABlAG0AcABcAGEAbgBzAGkAYgBsAGUALQB0AG0AcAAtADEANAAyADkANQA0ADMANgA5ADMALgA3ADQALQAyADEAMgA0ADAANAAxADYAMQA3ADIAOQA2ADAAMgBcACIAIAAtAEYAbwByAGMAZQAgAC0AUgBlAGMAdQByAHMAZQA7AA==']

 10.x.x.x WINRM RESULT Response code 0, out , err # CLIXML Objs 
 Ver

 failed: [10.x.x.x] = {failed: true, parsed: false}

 # CLIXML

 Objs Version=1.1.0.1 
 xmlns=http://schemas.microsoft.com/powershell/2004/04;S S=Erroramp; 
 : File 
 C:\Users\Administrator\AppData\Local\Temp\ansible-tmp-1429543693.74-21_x000D__x000A_/SS
  
 S=Error2404161729602\setup.ps1 cannot be loaded because running scripts 
 is disabled _x000D__x000A_/SS S=Erroron this system. For more 
 information, see about_Execution_Policies at _x000D__x000A_/SS 
 S=Errorhttp://go.microsoft.com/fwlink/?LinkID=135170._x000D__x000A_/SS 
 S=ErrorAt line:1 char:3_x000D__x000A_/SS S=Error+ amp; 
 _x000D__x000A_/SS 
 S=ErrorC:\Users\Administrator\AppData\Local\Temp\ansible-tmp-1429543693.74-2124041617
  
 

[ansible-project] fatal: [localhost] = One or more undefined variables: 'dict object' has no attribute u'fireball-iad-dev-fireball'

2015-04-20 Thread surjeet singh
Hi ,

I am getting the below error, while creating the beanstalk environment on 
AWS, I've tried ansible version 1.8.4 and 1.9.0.1 and the issue comes in 
both..

can any one guide me on how to rectify this issue.. I am pretty new to 
ansible and aws.

fatal: [localhost] = One or more undefined variables: 'dict object' has no 
attribute u'fireball-iad-dev-fireball'

-- 
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/8f93faec-88a5-496f-b206-696d7758e493%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] 1.9.0.1 with windows and powershell - scripts are disabled

2015-04-20 Thread Brian Coca
there are a rpm/deb packages or you could just clone the git repo and
source hacking/env-setup




-- 
Brian Coca

-- 
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/CAJ5XC8n50AMMLM85AtdoKnXVRC%3DNcE-H9EOVBiXRvZtu2Y7JJA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] 1.9.0.1 with windows and powershell - scripts are disabled

2015-04-20 Thread Daniel Furze
I'm currently using pip to install it. Is there an easy way to try the RC?


On Monday, 20 April 2015 16:40:12 UTC+1, Brian Coca wrote:

 there was a fix for powershell in 1.9.1rc3, can you try devel or the 
 release candidate? 




 -- 
 Brian Coca 


-- 
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/9eaa41aa-221d-4ad0-a22c-c2adcca57dee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] 1.9.0.1 with windows and powershell - scripts are disabled

2015-04-20 Thread Brian Coca
there was a fix for powershell in 1.9.1rc3, can you try devel or the
release candidate?




-- 
Brian Coca

-- 
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/CAJ5XC8%3DKm%3Druxz3Cpsi%3DxMONU5T3q3LuwABEHeU%2BLLmmRufO7A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.