Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 4 additions & 14 deletions infrastructure/server-setup/inventory/backup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,13 @@ 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: niko
- name: my-user
ssh_keys:
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDGy93egakrVxXHb9LafRQ7T0Cl+p+gCTuymLyofTLK2ncwKhOZ/uV5SuzaKb4lJbBnpmxNdvAxsYXff5srvJfrV0ZZXFQdAAg0mmWuXxrhNfaE52S4s6WVKknTqDE5PhMxzVxzynBnaTdW9Cno7mO+rnS/VybjZIadpOuv5Bek1PztBmrUi4h0Qg1PxXNmFqzyc1dsil1T0nFeu5cH59G5fF1/oSUlC6CYBNoHdQ62IBoydBwMumk/trFoTlxPNK1wXgcUvsr8Sa5A4lN2Rrc6Y22CEGwomtyjHb2kDVbI+7B1Zq+S89yyyvkPFezEsCdK/Ehaj8HzfcsR/bassSn0/Xv3bL20eh7wv7cnut40kFizYifNGfpEqPvSzjfJbB4iG2WSKkW8F9t0/cvd0AdY/3jB0vXhvnRvCqHm1X6JVdGamF3GJeHUMk9JDg3rQdT47BZUtSJer4MGWWcNiALjeWPNLXK9cAvrI/6GbHbPyTzACfR6nhs03Z/eebuvpp0=
state: present
sudoer: true
- name: shoumik
ssh_keys:
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINRSRTqm3vOfjyTutISEtbVp7ZddoWa9NZDZLeWZGzLy dsi@dsi-Inspiron-15-3511
state: present
sudoer: true
- name: riku
ssh_keys:
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDWIF63S4f3z9wQMvWibmvl7MPuJ6EVrkP0HuvgNhcs/4DZYMcR/GRBvV4ldOSYMlBevIXycgGzNDxKJgENUuwIWanjBu7uVAHyD6+cIRD1h63qq7Cjv/2HYTfBDKOrKzPOhA6zWvKO0ZGWsjRXk5LWMCbKOkvKJCxOpj/NVBxeE4FTK5YADYPV3OSsmBtqTHrVLm2sMmShU/2hMYYswWkobidjX65+nK/X+3C+yJbHwiydVvn+QCrFlFfCLPWKe8rUpOxyxofPqWVQh6CHhHfT8okaOc9sOE8Qeip9ljo84DftJh3Xm3ynOdWK1hH2BvRvxNadWqcE1qECbkg4tx2x [email protected]
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABg...Z/rhU= [email protected]
state: present
sudoer: true

backups-host:
hosts:
shoumikland-backup: # @todo set this to be the hostname of your backup server
ansible_host: '5.223.45.193'
backup: # @todo set this to be the hostname of your backup server
ansible_host: '66.66.66.66'
25 changes: 10 additions & 15 deletions infrastructure/server-setup/inventory/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,39 +30,34 @@ 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: riku
- name: my-user
ssh_keys:
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDWIF63S4f3z9wQMvWibmvl7MPuJ6EVrkP0HuvgNhcs/4DZYMcR/GRBvV4ldOSYMlBevIXycgGzNDxKJgENUuwIWanjBu7uVAHyD6+cIRD1h63qq7Cjv/2HYTfBDKOrKzPOhA6zWvKO0ZGWsjRXk5LWMCbKOkvKJCxOpj/NVBxeE4FTK5YADYPV3OSsmBtqTHrVLm2sMmShU/2hMYYswWkobidjX65+nK/X+3C+yJbHwiydVvn+QCrFlFfCLPWKe8rUpOxyxofPqWVQh6CHhHfT8okaOc9sOE8Qeip9ljo84DftJh3Xm3ynOdWK1hH2BvRvxNadWqcE1qECbkg4tx2x [email protected]
state: present
sudoer: true
- name: shoumik
ssh_keys:
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINRSRTqm3vOfjyTutISEtbVp7ZddoWa9NZDZLeWZGzLy dsi@dsi-Inspiron-15-3511
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABg...Z/rhU= [email protected]
state: present
sudoer: true

docker-manager-first:
hosts:
shoumikland-prod: # @todo set this to be the hostname of your target server
ansible_host: '5.223.47.240' # @todo set this to be the hostname of your target server
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
data_label: data1
# If you are using a jump server to access this environment, enter other SSH args here.
# ansible_ssh_common_args: '-J [email protected] -o StrictHostKeyChecking=no' # @todo set this to be the IP address of your jump server

# @todo We recommend you add 2-4 workers for a scaled production deployment
# This should depend on the size of your country and the number of end users.
# 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'
docker-workers:
hosts:
prod-02: # @todo set this to be the hostname of your target server
ansible_host: '33.33.33.33'
# If you are using a jump server to access this environment, enter other SSH args here.
# ansible_ssh_common_args: '-J [email protected] -o StrictHostKeyChecking=no'

backups:
hosts:
shoumikland-backup: # @todo set this to be the hostname of your backup server
ansible_host: '5.223.45.193' # set this to be the IP address of your backup server
backup: # @todo set this to be the hostname of your backup server
ansible_host: '66.66.66.66'
# Written by provision pipeline. Assumes "backup" environment
# exists in Github environments
ansible_ssh_private_key_file: /tmp/backup_ssh_private_key
Expand Down
13 changes: 4 additions & 9 deletions infrastructure/server-setup/inventory/qa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,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: riku
- name: my-user
ssh_keys:
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDWIF63S4f3z9wQMvWibmvl7MPuJ6EVrkP0HuvgNhcs/4DZYMcR/GRBvV4ldOSYMlBevIXycgGzNDxKJgENUuwIWanjBu7uVAHyD6+cIRD1h63qq7Cjv/2HYTfBDKOrKzPOhA6zWvKO0ZGWsjRXk5LWMCbKOkvKJCxOpj/NVBxeE4FTK5YADYPV3OSsmBtqTHrVLm2sMmShU/2hMYYswWkobidjX65+nK/X+3C+yJbHwiydVvn+QCrFlFfCLPWKe8rUpOxyxofPqWVQh6CHhHfT8okaOc9sOE8Qeip9ljo84DftJh3Xm3ynOdWK1hH2BvRvxNadWqcE1qECbkg4tx2x [email protected]
state: present
sudoer: true
- name: shoumik
ssh_keys:
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINRSRTqm3vOfjyTutISEtbVp7ZddoWa9NZDZLeWZGzLy dsi@dsi-Inspiron-15-3511
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABg...Z/rhU= [email protected]
state: present
sudoer: true

docker-manager-first:
hosts:
shoumikland-qa: # @todo set this to be the hostname of your target server
ansible_host: '5.223.51.253' # @todo set this to be the IP address of your server
qa: # @todo set this to be the hostname of your target server
ansible_host: '55.55.55.55' # @todo set this to be the IP address of your server
# ansible_port: '23' # @todo set this to be the SSH port if it's not 22
# internal_ssh_port: '22' # @todo if you are port-forwarding and server SSH port is not the same as ansible_port, set it here
data_label: data1 # for manager machines, this should always be "data1"
Expand Down
18 changes: 7 additions & 11 deletions infrastructure/server-setup/inventory/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,20 +32,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: riku
- name: my-user
ssh_keys:
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDWIF63S4f3z9wQMvWibmvl7MPuJ6EVrkP0HuvgNhcs/4DZYMcR/GRBvV4ldOSYMlBevIXycgGzNDxKJgENUuwIWanjBu7uVAHyD6+cIRD1h63qq7Cjv/2HYTfBDKOrKzPOhA6zWvKO0ZGWsjRXk5LWMCbKOkvKJCxOpj/NVBxeE4FTK5YADYPV3OSsmBtqTHrVLm2sMmShU/2hMYYswWkobidjX65+nK/X+3C+yJbHwiydVvn+QCrFlFfCLPWKe8rUpOxyxofPqWVQh6CHhHfT8okaOc9sOE8Qeip9ljo84DftJh3Xm3ynOdWK1hH2BvRvxNadWqcE1qECbkg4tx2x [email protected]
state: present
sudoer: true
- name: shoumik
ssh_keys:
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINRSRTqm3vOfjyTutISEtbVp7ZddoWa9NZDZLeWZGzLy dsi@dsi-Inspiron-15-3511
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABg...Z/rhU= [email protected]
state: present
sudoer: true

docker-manager-first:
hosts:
shoumikland-staging: # @todo set this to be the hostname of your target server
ansible_host: '5.223.51.99' # @todo set this to be the hostname of your target server
staging: # @todo set this to be the hostname of your target server
ansible_host: '11.11.11.11' # @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 [email protected] -o StrictHostKeyChecking=no' # @todo set this to be the IP address of your jump server
Expand All @@ -57,8 +53,8 @@ docker-workers: {}
# @todo if you do not intend to set up automatic sync from the backup server, you can remove this section.
backups:
hosts:
shoumikland-backup: # @todo set this to be the hostname of your backup server
ansible_host: '5.223.45.193' # set this to be the IP address of your backup server
backup: # @todo set this to be the hostname of your backup server
ansible_host: '66.66.66.66' # set this to be the IP address of your backup server
# Written by provision pipeline. Assumes "backup" environment
# exists in Github environments
ansible_ssh_private_key_file: /tmp/backup_ssh_private_key
Expand Down
Loading