summaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
authorRalph Bean <rbean@redhat.com>2016-02-18 12:55:40 +0000
committerRalph Bean <rbean@redhat.com>2016-02-18 12:55:53 +0000
commit31eaae25ba68e75d6d639bdd4a80b2165d90db58 (patch)
tree87a21baaa59b104227da18cdeba4cbf0ab2a4a96 /playbooks
parent555b31d8a1653fdb9b8c0b7a08d8c1ca96dfade3 (diff)
downloadansible-31eaae25ba68e75d6d639bdd4a80b2165d90db58.tar.gz
ansible-31eaae25ba68e75d6d639bdd4a80b2165d90db58.tar.xz
ansible-31eaae25ba68e75d6d639bdd4a80b2165d90db58.zip
Better to do these in pieces than all at once.
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/manual/upgrade/fmn.yml10
1 files changed, 9 insertions, 1 deletions
diff --git a/playbooks/manual/upgrade/fmn.yml b/playbooks/manual/upgrade/fmn.yml
index 602c79aaa..bfd2867b5 100644
--- a/playbooks/manual/upgrade/fmn.yml
+++ b/playbooks/manual/upgrade/fmn.yml
@@ -67,7 +67,15 @@
service: name="fedmsg-hub" state=stopped
- name: Upgrade the database
- command: /usr/bin/alembic -c /usr/share/fmn.lib/alembic.ini upgrade head
+ command: /usr/bin/alembic -c /usr/share/fmn.lib/alembic.ini upgrade +1
+ args:
+ chdir: /usr/share/fmn.lib/
+ - name: Upgrade the database
+ command: /usr/bin/alembic -c /usr/share/fmn.lib/alembic.ini upgrade +1
+ args:
+ chdir: /usr/share/fmn.lib/
+ - name: Upgrade the database
+ command: /usr/bin/alembic -c /usr/share/fmn.lib/alembic.ini upgrade +1
args:
chdir: /usr/share/fmn.lib/