Skip to content

Commit

Permalink
Update production.yml with correct server details
Browse files Browse the repository at this point in the history
makelicious committed Jun 27, 2024
1 parent 9525ec1 commit f2e7327
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions infrastructure/server-setup/inventory/production.yml
Original file line number Diff line number Diff line change
@@ -30,16 +30,16 @@ all:
users:
# @todo this is where you define which development team members have access to the server.
# If you need to remove access from someone, do not remove them from this list, but instead set their state: absent
- name: my-user
- name: markus
ssh_keys:
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABg...Z/rhU= user@example.com
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDGvvjFxXqcdKn9kk8VHzm38R3nLWvvwP8W0e3uXxOgby/7LJZx2bosXCZ28FyPTYwVRezHE9lguKiaCo2kxqzNwwx64MzUFRH60sE5cYeH1IqjCBTY3Ht8hkZlYaVoRmsHiqiqogW+bJPo8PBO+ydCh53KUdJFEOXAYvKZ/RfDsWh7/SjeQrQzpRFNeb9keefX+uNNBbKRm9/AEWIHFCGJpDvpJcz3i8hKbRPtXi5OTcEx1Kr4iOMikGXvGzsC1u84qgiy5moeBzpWeROwyJOHRLqPqQ/IHvUkE4F1BXen02G69nHpFdmjTOcjBbT1RzGTeWZs+ehc/kJaS3dUMHd5rSPsimjiCKZ5+wCAyxc5gJlQof71IpHVN4ZDoetH4Lo2bnLdA1YX6DaVU1Fd/6rPWw02DA1OEIhrjJ3Gak87/HUYGNhpZVyIxyNYGXBMPkmHCHCjzjN7sPdMRvkbl5tahD2PoS4172tsO7YYMfAZ/UYYZw745CDxQYIjjfrFRn8= markuslaurila@MacBook-Pro.local
state: present
sudoer: true

docker-manager-first:
hosts:
prod-01: # @todo set this to be the hostname of your target server
ansible_host: '22.22.22.22' # @todo set this to be the hostname of your target server
markusland-prod: # @todo set this to be the hostname of your target server
ansible_host: '46.101.122.71' # @todo set this to be the hostname of your target server
data_label: data1
# If you are using a jump server to access this environment, enter other SSH args here.
# ansible_ssh_common_args: '-J jump@55.55.55.55 -o StrictHostKeyChecking=no'
@@ -49,19 +49,18 @@ docker-manager-first:
# If you are only using one production worker for very small countries or small pilot projects, replace with an empty block like so: docker-workers: {}
docker-workers:
hosts:
prod-02: # @todo set this to be the hostname of your target server
ansible_host: '33.33.33.33'
markusland-prod-02: # @todo set this to be the hostname of your target server
ansible_host: '164.92.235.83'
# If you are using a jump server to access this environment, enter other SSH args here.
# ansible_ssh_common_args: '-J jump@55.55.55.55 -o StrictHostKeyChecking=no'

backups:
hosts:
backup: # @todo set this to be the hostname of your backup server
ansible_host: '66.66.66.66'
markusland-backup: # @todo set this to be the hostname of your backup server
ansible_host: '165.227.164.211'
# Written by provision pipeline. Assumes "backup" environment
# exists in Github environments
ansible_ssh_private_key_file: /tmp/backup_ssh_private_key

# If you are using a jump server to access this environment
# jump:
# hosts:

0 comments on commit f2e7327

Please sign in to comment.