[ansible-project] Re: Windows Support Stage 2: Engage Battlestations!

2014-07-20 Thread Ash Caire
Loving the Windows support! Sure beats all of my attempted efforts with Chef to date - I'm going to be needing a fair few of the features listed in the immediate future. I've started on a Registry module, please let me know if this clashes with work done by anyone else thus far. On Friday, 4 J

[ansible-project] Ansible managing Ansible

2014-07-20 Thread Jason Edelman
I'm thinking of running Ansible on every server to monitor server interfaces and connectivity to the Top of Rack switch. I envision the server sending pings every 30 seconds to the TOR, and based on a condition, modify interface config and routing table. This can be done by a single Ansible serve

[ansible-project] Re: Ansible book

2014-07-20 Thread Jeff Geerling
Just wanted to add in another update (in case OP is still following this thread); I'm halfway through a new book on Ansible, Ansible for DevOps . My aim is to take developers and sysadmins who may or may not be using any automation for their infrastructur

Re: [ansible-project] Re: Starting Openstack VMs in parallel

2014-07-20 Thread Bob Tiernay
FYI - http://docs.openstack.org/api/openstack-compute/2/content/POST_multiple-create-v2_createServer__v2__tenant_id__servers_ext-os-multi-server-create.html To get exact_count semantics, set min_count and max_count to the same value. This is part of the public OpenStack API. Cheers, Bob On F

Re: [ansible-project] Re: Starting Openstack VMs in parallel

2014-07-20 Thread Bob Tiernay
Hey Kurt, Do you happen to have a full example in a repo somewhere? I would be very interested to check it out. Thanks in advance, Bob On Thursday, 17 July 2014 10:19:40 UTC-4, Kurt Yoder wrote: > > I forgot to include a critical piece of this solution. Here's how you > invoke the task to tel

[ansible-project] S3 Bucket creation - IAM

2014-07-20 Thread Brian Dunbar
I may need to provision and manage S3 buckets for clients, and set IAM policies for them. Obviously, this is doable using the AWS console, or command line. But we use Ansible for everything _else_ so .. are there any plans to release a module specifically for S3 and IAM? Something in developm

Re: [ansible-project] Calling Tags From a Playbook

2014-07-20 Thread Michael DeHaan
Basically this would be asking for a play level "use_tags" parameter. (It would not be called "tags", as that would mean the existing ability *to tag*) This is not something we are working on, but patches would be considered certaintly, the variable should only exist at play level (on level with

[ansible-project] Calling Tags From a Playbook

2014-07-20 Thread Michael Liu
I know you have to ability to call task tags from the command line, for example: ansible-playbook -i staging_env mydeploy.yml --tags "web_stop" But, is there a way to call task tags from with in a playbook? I would rather create multiple playbooks such as web_start.yml, web_deploy.yml, stop_a

[ansible-project] Re: How to correctly authenticate git user with SSH key

2014-07-20 Thread mvermaes
Couple of things to check: - Can you run the git command with 'sudo: false'? See here for why: https://help.github.com/articles/error-permission-denied-publickey#sudo-or-sudont - If you need to run git with sudo, and that's why you have specified key_file=..., I think you want to use your privat

[ansible-project] How to correctly authenticate git user with SSH key

2014-07-20 Thread 9devmail
I want to pull code from Bitbucket.org - copy: src=path/to/mykey.pub dest=/home/{{ username }}/.ssh/mykey.pub sudo: false - copy: src=path/to/mykey dest=/home/{{ username }}/.ssh/mykey mode=0600 sudo: false - copy: src=path/to/known_hosts dest=/home/{{ username }}/.ssh/known_hosts sudo

Re: [ansible-project] when condition

2014-07-20 Thread 'Diogene Laerce' via Ansible Project
Hi Michael, Thanks ! And "second hit bird" : I know now what my Debian shell means by : "cannot stat".. Re-thanks. ;) On 07/18/2014 08:15 PM, Michael DeHaan wrote: > You don't use Jinja2 inside when statements. Further, not all python > functions, including the OS module, are exposed, and what