feat: initial playbook
This commit is contained in:
parent
99bfb97ee7
commit
f8e1de4f0a
30 changed files with 1097 additions and 2 deletions
14
roles/netbox-deploy/templates/postgres.env.j2
Normal file
14
roles/netbox-deploy/templates/postgres.env.j2
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
# PostgreSQL Configuration
|
||||
# Generated by Ansible - DO NOT EDIT MANUALLY
|
||||
|
||||
POSTGRES_DB={{ netbox_db_name }}
|
||||
POSTGRES_USER={{ netbox_db_user }}
|
||||
POSTGRES_PASSWORD={{ netbox_db_password }}
|
||||
POSTGRES_PORT={{ netbox_db_port }}
|
||||
|
||||
# Additional PostgreSQL Configuration
|
||||
{% if netbox_postgres_additional_env is defined %}
|
||||
{% for key, value in netbox_postgres_additional_env.items() %}
|
||||
{{ key }}={{ value }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue