mirror of
https://github.com/ZwareBear/JFrog-Cloud-Installers.git
synced 2026-01-21 07:06:56 -06:00
[ansible] Example hosts file to be explicit about pulling passwords,keys from env vars (#65)
* Updated example hosts file to be explicit about pulling passwords,keys from env vars. * Updated changelog. * Update CHANGELOG.md Co-authored-by: Ram <1331672+chukka@users.noreply.github.com>
This commit is contained in:
@@ -2,13 +2,13 @@
|
||||
all:
|
||||
vars:
|
||||
ansible_user: "ubuntu"
|
||||
ansible_ssh_private_key_file: "/Users/jefff/.ssh/ansible-priv.pem"
|
||||
ansible_ssh_private_key_file: "{{ lookup('env', 'ansible_key') }}"
|
||||
children:
|
||||
database:
|
||||
hosts:
|
||||
52.86.32.79:
|
||||
db_users:
|
||||
- { db_user: "artifactory", db_password: "Art1fAct0ry" }
|
||||
- { db_user: "artifactory", db_password: "{{ lookup('env', 'artifactory_password') }}" }
|
||||
dbs:
|
||||
- { db_name: "artifactory", db_owner: "artifactory" }
|
||||
primary:
|
||||
@@ -28,7 +28,7 @@ all:
|
||||
db_driver: "org.postgresql.Driver"
|
||||
db_url: "jdbc:postgresql://10.0.0.160:5432/artifactory"
|
||||
db_user: "artifactory"
|
||||
db_password: "Art1fAct0ry"
|
||||
db_password: "{{ lookup('env', 'artifactory_password') }}"
|
||||
server_name: "ec2-100-25-104-198.compute-1.amazonaws.com"
|
||||
certificate: |
|
||||
-----BEGIN CERTIFICATE-----
|
||||
|
||||
Reference in New Issue
Block a user