Skip to content

Commit

Permalink
oui3
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu committed Feb 7, 2024
1 parent 833d401 commit 98dd692
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 5 additions & 1 deletion ansible/inventories/setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ all:
vars:
ansible_user: centos
ansible_ssh_private_key_file: /home/ubuntu/Documents/git_folder/DevOps/ansible/id_rsa
postgres_password: "davidpg"
postgres_user: "davidpg"
postgres_db: "davidpg"
children:
prod:
hosts: [email protected]
hosts:
david.jeannin.takima.cloud:
6 changes: 3 additions & 3 deletions ansible/roles/db_handle/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
volumes:
- "/home/centos/bdd:/var/lib/postgresql/data"
env:
POSTGRES_PASSWORD: "davidpg"
POSTGRES_USER: "davidpg"
POSTGRES_DB: "davidpg"
POSTGRES_PASSWORD: "{{ postgres_password }}"
POSTGRES_USER: "{{ postgres_user }}"
POSTGRES_DB: "{{ postgres_db }}"
network_mode: "app-network"
vars:
ansible_python_interpreter: /usr/bin/python3

0 comments on commit 98dd692

Please sign in to comment.