Re: Migrating the python-django charm to Ansible

2014-11-17 Thread Patrick Hetu
> Let me know about the shims! Well, I've just tested and it looks like it was fixed in Ansible 1.7 at least for host_vars/... So much cleaner code to come! Also, let met know what your thinking about the changes I propose on how relations are handle in charm-ansible-roles. Patrick 2014-11-07 1

Re: Migrating the python-django charm to Ansible

2014-11-07 Thread Patrick Hetu
​> Specifically, this is not the config.yaml you're talking about, but > the config file which is passed during deployment right? As in, > "myconfig.yaml" in: > > juju deploy --config myconfig.yaml mycharm yes, that's what I meant. >> [1] Using a configuration file without that charm name at the

Re: Migrating the python-django charm to Ansible

2014-11-07 Thread Simon Davy
On 6 November 2014 01:03, Michael Nelson wrote: > Hi Patrick, > > On Thu, Nov 6, 2014 at 4:22 AM, Patrick Hetu wrote: [snip] >> The shim would do things like: >> >> * Translating Juju variable to role variable > > That can be done in the playbook where needed as above. > >> * Sanitize variable li

Re: Migrating the python-django charm to Ansible

2014-11-05 Thread Michael Nelson
Hi Patrick, On Thu, Nov 6, 2014 at 4:22 AM, Patrick Hetu wrote: > Since the last UDS, I'm trying to make the python-django charm evolve > to use Ansible for is various tasks instead of using pure Python scripts. > > My previous attempt: > > lp:~patrick-hetu/charms/precise/python-django/ansible

Migrating the python-django charm to Ansible

2014-11-05 Thread Patrick Hetu
Since the last UDS, I'm trying to make the python-django charm evolve to use Ansible for is various tasks instead of using pure Python scripts. My previous attempt: lp:~patrick-hetu/charms/precise/python-django/ansible had some problems so I decided to restart from scratch here (work in progre