-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
262 additions
and
89 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
- name: Install APT packages | ||
apt: | ||
name: | ||
- "libpq-dev" | ||
- "python3-setuptools" | ||
- "python3-pip" | ||
update_cache: true | ||
- block: | ||
- name: Install PG 11 APT packages | ||
apt: | ||
name: | ||
- "postgresql-client-11" | ||
- "postgresql-11" | ||
rescue: | ||
- name: Install PG 10 APT packages | ||
apt: | ||
name: | ||
- "postgresql-client-10" | ||
- "postgresql-10" | ||
- name: Create JJS database | ||
postgresql_db: | ||
name: jjs | ||
become: true | ||
become_user: postgres | ||
- name: Setup JJS postgres user | ||
postgresql_user: | ||
db: jjs | ||
name: jjs | ||
# TODO: take variable | ||
password: internal | ||
role_attr_flags: "SUPERUSER" | ||
become: true | ||
become_user: postgres |
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
- name: Install APT packages | ||
apt: | ||
name: libpq-dev | ||
- name: Copy JJS package | ||
copy: | ||
dest: /tmp/ | ||
src: "{{ pkg_path }}" | ||
- name: "TODO: hack" | ||
apt: | ||
name: jjs | ||
state: absent | ||
- name: Install JJS package | ||
apt: | ||
deb: /tmp/jjs.deb | ||
state: present | ||
- name: Setup JJS user | ||
user: | ||
create_home: true | ||
name: jjs |
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
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
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
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,3 +1,4 @@ | ||
#![feature(backtrace)] | ||
// for async-trait | ||
#![allow(clippy::needless_lifetimes)] | ||
pub mod config; | ||
|
Oops, something went wrong.