[ansible-project] Unarchive

2016-02-02 Thread Graham Hay
I'm using the unarchive module for deployment. I'd like to take advantage of the diff feature to avoid uploading the tarball, if nothing has changed; but I'm wary of leaving remnants of the previous version (a lesson I've learned the hard way), so I currently delete it before unarchiving the new

Re: [ansible-project] Rename rax server

2014-10-09 Thread Graham Hay
ostname != groups['master'][0] > > This is largely how my team handles our mongodb replicaset. I don't > personally care which is the master, I just care that ansible can figure it > out and performs the right tasks on the right hosts. > > > On Wed, Oct 8, 2014 at

Re: [ansible-project] Rename rax server

2014-10-08 Thread Graham Hay
nnect to them all, run a check to see what > they function is, use group_by to allow for easily targeting based on that > check. > > I wouldn't consider a rename as something that should happen often. > > On Wed, Oct 8, 2014 at 11:26 AM, Graham Hay wrote: > >> 1) isn

Re: [ansible-project] Rename rax server

2014-10-08 Thread Graham Hay
ulating metadata at a later time. > > On Wed, Oct 8, 2014 at 11:17 AM, Graham Hay wrote: > >> Hi, >> >> Is there any way to rename a rax server, using an ansible module? It >> doesn't seem to be possible using the rax_meta module, and I couldn't see >&

[ansible-project] Rename rax server

2014-10-08 Thread Graham Hay
Hi, Is there any way to rename a rax server, using an ansible module? It doesn't seem to be possible using the rax_meta module, and I couldn't see anything else appropriate. I can do it in the control panel easily enough, so I assume it can be done through the API. Thanks, Graham -- You rec

Re: [ansible-project] Paramiko

2014-10-02 Thread Graham Hay
#x27; to resolve issues when > using sshpass. You will need to use '-c ssh' or set 'transport = ssh' in > ansible.cfg. > > On Thu, Oct 2, 2014 at 7:49 AM, Graham Hay wrote: > >> Hi, >> >> I recently fetched the latest version of devel (submodules a

[ansible-project] Paramiko

2014-10-02 Thread Graham Hay
Hi, I recently fetched the latest version of devel (submodules and all), and started getting the "paramiko not installed" error. Has something changed recently? If I specify "-c ssh" it works fine, but I thought that was the default now? I'm running the scripts from a Mac, with a fairly old ve

[ansible-project] Re: Running a playbook on a new rackspace instance

2014-09-26 Thread Graham Hay
anaged service level offering. > > In which case, you should probably wait until that is complete. There are > docs located at < > http://docs.ansible.com/guide_rax.html#rackconnect-and-managed-cloud> > that will show you how to wait for the automation to complete. > > On

[ansible-project] Running a playbook on a new rackspace instance

2014-09-26 Thread Graham Hay
Hi, This is possibly more of a rackspace question than an ansible one, but hey-ho. When we create a new instance using the rax module, we then have a post-creation playbook containing steps that need to be run on all servers. The creation playbook waits for the instances to have finished buildi

Re: [ansible-project] Immutable servers using rax module

2014-09-17 Thread Graham Hay
orm. > > You might also want to look at > https://developer.rackspace.com/blog/rolling-deployments-with-ansible-and-cloud-load-balancers/ > > -- > Matt Martz > sivel.net > @sivel > > On Tue, Sep 16, 2014 at 9:05 AM, Graham Hay > wrote: > >> Hi, >> >&

[ansible-project] Immutable servers using rax module

2014-09-16 Thread Graham Hay
Hi, We were considering taking an "immutable server" approach to deployments (we may not be able to due to 3rd party restrictions whitelisting IPs), is that something that would be possible using the rax module? So, a deployment would consist of spinning up and provisioning x new servers, addi