berendt | dmsimard: at https://github.com/osism/docker-ara-server i created a docker container for the server part of ara, can you please have a look at it. maybe it is a useful addition for the ara repository. would be happy to move it there. | 08:18 |
---|---|---|
*** sshnaidm|afk is now known as sshnaidm | 09:16 | |
dmsimard | berendt: had a quick glance, looks neat | 11:40 |
dmsimard | I'm a bit torn on the docker stuff. I *think* what would be cool is probably a set of 2 containers, one for the webapp similar to yours but loaded with wsgi and a web server in front (apache+mod_wsgi, uwsgi+nginx, etc) and MySQL instead of sqlite | 11:44 |
berendt | dmsimard: i use this container with mysql as backend, sqlite is the default to have a standalone image | 11:44 |
berendt | use of wsgi should not be a big deal | 11:45 |
dmsimard | Several folks here have an approach with containers, I'd love to have something upstream for it | 11:45 |
dmsimard | harlowja, leifmadsen, njohnston ^ | 11:46 |
berendt | i think it would be nice to have a dockerfile inside the ara repository | 11:48 |
berendt | push/build of docker images should be possible with the infrastructure, at least at kolla we do implement docker hub push jobs at the moment | 11:48 |
berendt | not sure if there is a openstack namespace on docker hub | 11:48 |
dmsimard | There is also https://chmod666.org/2017/04/building-a-docker-swarm-as-a-service-infrastructure-on-ppc64le-linux-w-ansible-openstack-ara-terraform-glusterfs-traefik-and-portainer which might be interesting for you | 11:49 |
dmsimard | berendt: there isn't but there could be one for ara | 11:50 |
dmsimard | berendt: Let's chat later after I'm a bit more awake | 11:57 |
berendt | dmsimard: sure. must now also in the next call. | 11:59 |
*** tbielawa has joined #ara | 12:54 | |
*** sshnaidm has quit IRC | 13:02 | |
*** sshnaidm has joined #ara | 13:03 | |
*** resmo has joined #ara | 14:24 | |
*** sshnaidm is now known as sshnaidm|afk | 14:55 | |
*** resmo has quit IRC | 15:13 | |
*** sshnaidm|afk is now known as sshnaidm | 15:15 | |
*** tbielawa is now known as tbielawa|mtg | 15:29 | |
*** tbielawa|mtg is now known as tbielawa | 15:48 | |
*** jclaret has joined #ara | 16:03 | |
*** jclaret has quit IRC | 16:03 | |
*** jclaret has joined #ara | 16:04 | |
*** tbielawa is now known as tbielawa|lunch | 16:24 | |
_dev | Hey, is there anyway that I can get the current playbook-id from within a playbook run? | 16:33 |
dmsimard | _dev: the output from registering an ara_record task | 16:46 |
dmsimard | _dev: https://gist.github.com/dmsimard/0335667e69539c1dd22a169cbd43e616 | 16:50 |
_dev | god yes | 16:56 |
_dev | i love ara | 16:56 |
_dev | and i love you | 16:56 |
_dev | you just made my job easier | 16:56 |
dmsimard | _dev: yay :) | 17:05 |
harlowja | dmsimard leifmadsen njohnston yup, a dockerfile would be cool | 17:14 |
harlowja | especially one that makes apache work | 17:15 |
* harlowja right now i've been using gunicorn (though don't really want to in the long-term) | 17:15 | |
harlowja | so some base image with say apache setup (to some default) would be niceeee | 17:16 |
harlowja | apache + ara | 17:16 |
*** tbielawa|lunch is now known as tbielawa | 17:32 | |
_dev | so im having a hell of time getting ansible to pull in ara_{read,record} by setting ANSIBLE_ACTION_PLUGINS | 17:49 |
_dev | has anyone actually done it this way? | 17:49 |
dmsimard | _dev: you need to set both ANSIBLE_ACTION_PLUGINS and ANSIBLE_LIBRARY | 18:02 |
dmsimard | _dev: see http://ara.readthedocs.io/en/latest/configuration.html#using-environment-variables | 18:02 |
_dev | ah, okay | 18:03 |
_dev | thanks | 18:03 |
*** sshnaidm is now known as sshnaidm|off | 18:49 | |
*** jclaret has quit IRC | 19:05 | |
*** tbielawa_ has joined #ara | 19:55 | |
*** tbielawa has quit IRC | 19:57 | |
*** tbielawa_ has quit IRC | 20:20 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!