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:
parent
4c6c10a1fd
commit
b1d69ac2bc
4 changed files with 76 additions and 1 deletions
|
@ -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/
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue