Update the FMN role and playbook for 1.2.0

Packages have been combined, some new configuration files are required,
and database migrations have been relocated.

Signed-off-by: Jeremy Cline <jeremy@jcline.org>
This commit is contained in:
Jeremy Cline 2017-04-10 19:42:22 +00:00
parent 4c6c10a1fd
commit b1d69ac2bc
4 changed files with 76 additions and 1 deletions

View file

@ -18,7 +18,11 @@
yum: name="python-fmn*" state=latest
when: not testing
- name: yum update FMN packages from testing repo
yum: name="python-fmn*" state=latest enablerepo=infrastructure-testing
yum: pkg={{ item }} state=latest enablerepo=infrastructure-testing
with_items:
- python-fmn
- python-fmn-sse
- python-fmn-web
when: testing
- name: verify the frontend and stop it
@ -77,6 +81,7 @@
- name: Upgrade the database
command: /usr/bin/alembic -c /usr/share/fmn.lib/alembic.ini upgrade head
when: env != "staging"
args:
chdir: /usr/share/fmn.lib/