Commit Graph

9 Commits

Author SHA1 Message Date
David Moreau Simard 6b581340f7
opendev: Remove content and leave an URL to the GitHub repository
Change-Id: Ibae7b876c890bd7fac8e020b159d241ae3cc5604
2021-02-25 15:29:52 -05:00
David Moreau Simard ce2d8e5c78
use become: true when reloading systemctl daemon
Change-Id: I43b824730dafc783d45506c3e370a3397097b6f0
2018-07-06 12:35:34 -04:00
David Moreau Simard 49bd5e1afa Make sure the ARA systemd service is not running with apache
apache with mod_wsgi takes care of starting the app.
If the role is first ran with the defaults, the ara systemd service
will be running.
If we re-run the role and choose an apache deployment, we need to make
sure we're disabling it.

What this boils down to -- let's always set up the systemd service
but start it or disable it according to what we need to deploy.

Change-Id: I8fceed417d766a28564ad88a972de4f38c1b44ac
2018-06-01 19:56:57 +00:00
David Moreau Simard a9b8f25c01
Update license headers to match ARA
Change-Id: I788310bf0af3c0bb201f490264f8b1c67fac517f
2018-04-25 20:49:18 -04:00
David Moreau Simard f107ec0aef
Add support for nginx with reverse proxy to embedded server
This deploys the existing embedded server service but adds a nginx
reverse proxy on top.

Change-Id: I06837e39c20ce9390a39fc1ef2ee046934e6f38a
2018-04-25 20:39:00 -04:00
David Moreau Simard 7b2d04f850
Reload systemctl and restart ara on service unit file
We were not reloading or restarting ara after changing
the parameters.
This means that running a second time with different
parameters will not be effective automatically.

Also, in order to be effective, the unit file we setup
needs to be in /etc/systemd, not /usr/lib/systemd.

Change-Id: I53716fc2bdb7cf8afc2c5ea39ab953a51c9c4585
2018-04-25 08:50:42 -04:00
Nicolas Hicher 871f825406
Refactoring ara role
- split embedded and apache configuation in separate files
- use systemd to launch and enable httpd or embedded server
- remove unused handler

Change-Id: I25c92b2b38125826087957fb8ce9320641cf86f0
2018-03-30 08:10:49 -04:00
David Moreau-Simard 8863c8887c Clean up ansible-role-ara
- Add copyright headers (sorry)
- Re-order tasks
- Add missing wsgi required packages
- Use template instead of file for default ansible.cfg
- Use handler to restart apache if need be
- Use command instead of shell unless necessary
- Fix mistakes in systemd service
- Fix mistakes in debian family required packages
- Add friendly instructions at the end of the setup
- Improve README

Change-Id: I84d59facfdc593bc82ac1d1436a49f85c2d1637b
2017-03-15 12:28:46 -04:00
Naga Ravi Chaitanya Elluri cbfac7ecd1 ansible-galaxy role for ara 2016-11-16 11:35:47 -05:00