Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OPSEXP-1145: Fix ansible deployment using python 2 (#216)
* Fix ansible deployment using python 2 * Change name of directory from TRAVIS_BUILD to TRAVIS_JOB and cleanup old files
- Loading branch information
Showing
7 changed files
with
19 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
postgresql_packages: | ||
- postgresql{{ dependencies_version.postgres_major_version }}-server | ||
- postgresql{{ dependencies_version.postgres_major_version }} | ||
- python{{ '3' if ansible_python_version.split('.')[0] == '3' }}-psycopg2 | ||
- python{{ '3' if ansible_python_version.split('.')[0] == '3' else '' }}-psycopg2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
postgresql_packages: | ||
- postgresql{{ dependencies_version.postgres_major_version }}-server | ||
- postgresql{{ dependencies_version.postgres_major_version }} | ||
- python3-psycopg2 | ||
- python{{ '3' if ansible_python_version.split('.')[0] == '3' else '' }}-psycopg2 | ||
- glibc-langpack-en |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
postgresql_packages: | ||
- postgresql-{{ dependencies_version.postgres_major_version }} | ||
- python3-psycopg2 | ||
- python{{ '3' if ansible_python_version.split('.')[0] == '3' else '' }}-psycopg2 | ||
|
||
postgresql_service: postgresql | ||
postgresql_conf_path: /etc/postgresql/{{ dependencies_version.postgres_major_version }}/main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
postgresql_packages: | ||
- postgresql{{ dependencies_version.postgres_major_version }}-server | ||
- postgresql{{ dependencies_version.postgres_major_version }} | ||
- python{{ '3' if ansible_python_version.split('.')[0] == '3' }}-psycopg2 | ||
- python{{ '3' if ansible_python_version.split('.')[0] == '3' else '' }}-psycopg2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
postgresql_packages: | ||
- postgresql{{ dependencies_version.postgres_major_version }}-server | ||
- postgresql{{ dependencies_version.postgres_major_version }} | ||
- python3-psycopg2 | ||
- python{{ '3' if ansible_python_version.split('.')[0] == '3' else '' }}-psycopg2 | ||
- glibc-langpack-en |