Skip to content

Commit

Permalink
postgres_listen_addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
bbaassssiiee committed Nov 27, 2024
1 parent 6122f34 commit 09ae7c3
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions inventory/local/group_vars/all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
docker_install_compose: true
docker_install_compose_plugin: true
server_name: "{{ lookup('env', 'HOSTNAME') }}"
postgres_listen_addresses: '127.0.0.1'
1 change: 0 additions & 1 deletion inventory/local/group_vars/database.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
postgres_enabled: true
postgres_version: 15
postgres_listen_addresses: '127.0.0.1'
# Postgresql users and databases/schemas
database:
postgres:
Expand Down
1 change: 0 additions & 1 deletion inventory/local/group_vars/semaphore.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
semaphore_web_root: 'https://20.224.75.82'
semaphore_db_host: '127.0.0.1'
nginx_add_repo: false

ssh_passphrase: "{{ lookup('env', 'SSH_PASS') }}"
Expand Down
1 change: 1 addition & 0 deletions inventory/test/group_vars/all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
docker_install_compose: true
docker_install_compose_plugin: true
server_name: acsNode
postgres_listen_addresses: '127.0.0.1'
1 change: 0 additions & 1 deletion inventory/test/group_vars/database.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
postgres_enabled: true
postgres_version: 15
postgres_listen_addresses: '127.0.0.1'
# Postgresql users and databases/schemas
database:
postgres:
Expand Down
2 changes: 1 addition & 1 deletion roles/semaphore/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ verify_state: true
debug: false
semaphore_config_path: config.json.j2
semaphore_port: 3000
semaphore_db_host: "{{ ansible_default_ipv4.address }}"
semaphore_db_host: "{{ postgres_listen_addresses }}"
bind_port: 3000
semaphore_service_uri: "https://{{ ansible_fqdn | default(ansible_hostname) }}"
# Whether to create an admin user
Expand Down

0 comments on commit 09ae7c3

Please sign in to comment.