Compare commits
3 Commits
ec0a1adc01
...
e8d86d41ea
Author | SHA1 | Date | |
---|---|---|---|
e8d86d41ea | |||
909ef2b5c8 | |||
4fb0c5c43b |
17
README.md
Normal file
17
README.md
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
# infra-as-code
|
||||||
|
## Setup
|
||||||
|
In order to create customers a one-time setup has to be done. Execute the following command to get started:
|
||||||
|
```sh
|
||||||
|
./install_deps.sh
|
||||||
|
```
|
||||||
|
You can now start creating customers!
|
||||||
|
|
||||||
|
## Create customer
|
||||||
|
```sh
|
||||||
|
./self_service.sh
|
||||||
|
```
|
||||||
|
|
||||||
|
## Remove a customer
|
||||||
|
```sh
|
||||||
|
./rm_customer.sh $CUSTOMER_NAME
|
||||||
|
```
|
2
roles/postgresql/handlers/main.yml
Normal file
2
roles/postgresql/handlers/main.yml
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
# handlers file for postgresql
|
10
roles/postgresql/meta/main.yml
Normal file
10
roles/postgresql/meta/main.yml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
galaxy_info:
|
||||||
|
author: strNophix
|
||||||
|
description: Postgresql Role
|
||||||
|
|
||||||
|
license: MIT
|
||||||
|
min_ansible_version: 2.1
|
||||||
|
|
||||||
|
galaxy_tags: []
|
||||||
|
|
||||||
|
dependencies: []
|
10
roles/postgresql/tasks/main.yml
Normal file
10
roles/postgresql/tasks/main.yml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
# tasks file for postgresql
|
||||||
|
- name: Install postgres
|
||||||
|
package:
|
||||||
|
name:
|
||||||
|
- postgresql
|
||||||
|
- postgresql-contrib
|
||||||
|
state: present
|
||||||
|
update_cache: yes
|
||||||
|
become: true
|
Reference in New Issue
Block a user