Skip to content
This repository has been archived by the owner on Feb 1, 2019. It is now read-only.

Commit

Permalink
Merge pull request #70 from dgreisen-cfpb/master
Browse files Browse the repository at this point in the history
Kratos bug fixes; Deployment issue; Inventory file renaming
  • Loading branch information
dgreisen-cfpb committed Jul 28, 2015
2 parents ebc1af8 + c7ce6bc commit 00798d4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ansible/group_vars/all/repositories.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
repositories:
- https://github.com/cfpb/[email protected]
- https://github.com/cfpb/[email protected].1
- https://github.com/cfpb/[email protected].2
- https://github.com/cfpb/[email protected]
unitybox_repository: https://github.com/cfpb/[email protected]
6 changes: 3 additions & 3 deletions ansible/playbook.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
- hosts:
- test
- production
- prod
gather_facts: no
pre_tasks:
- name: set umask to 022 so we can deploy
Expand All @@ -15,7 +15,7 @@
- hosts:
- vagrant
- test
- production
- prod
gather_facts: no
vars:
kratos_port: 5000
Expand All @@ -34,7 +34,7 @@
sudo: yes
- hosts:
- test
- production
- prod
gather_facts: no
post_tasks:
- name: set umask to 077 for safety
Expand Down
2 changes: 1 addition & 1 deletion ansible/roles/django/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@
file: path={{ data_dir }}/django owner={{ web_user }} group={{ web_user }} state=directory

- name: migrate db
shell: "{{ pantheon_dir }}/devdash/manage.py migrate"
shell: "su -l {{ web_user }} -c '{{ pantheon_dir }}/devdash/manage.py migrate'"
register: migrate_result
changed_when: "'No migrations to apply.' not in migrate_result.stdout"

0 comments on commit 00798d4

Please sign in to comment.