Skip to content

Commit dbcb27f

Browse files
committed
Revert "Merge pull request #324 from opencrvs/server-config"
This reverts commit b7581ef, reversing changes made to 1d3e670.
1 parent b7581ef commit dbcb27f

File tree

4 files changed

+25
-49
lines changed

4 files changed

+25
-49
lines changed

infrastructure/server-setup/inventory/backup.yml

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -21,23 +21,13 @@ all:
2121
users:
2222
# @todo this is where you define which development team members have access to the server.
2323
# If you need to remove access from someone, do not remove them from this list, but instead set their state: absent
24-
- name: niko
24+
- name: my-user
2525
ssh_keys:
26-
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDGy93egakrVxXHb9LafRQ7T0Cl+p+gCTuymLyofTLK2ncwKhOZ/uV5SuzaKb4lJbBnpmxNdvAxsYXff5srvJfrV0ZZXFQdAAg0mmWuXxrhNfaE52S4s6WVKknTqDE5PhMxzVxzynBnaTdW9Cno7mO+rnS/VybjZIadpOuv5Bek1PztBmrUi4h0Qg1PxXNmFqzyc1dsil1T0nFeu5cH59G5fF1/oSUlC6CYBNoHdQ62IBoydBwMumk/trFoTlxPNK1wXgcUvsr8Sa5A4lN2Rrc6Y22CEGwomtyjHb2kDVbI+7B1Zq+S89yyyvkPFezEsCdK/Ehaj8HzfcsR/bassSn0/Xv3bL20eh7wv7cnut40kFizYifNGfpEqPvSzjfJbB4iG2WSKkW8F9t0/cvd0AdY/3jB0vXhvnRvCqHm1X6JVdGamF3GJeHUMk9JDg3rQdT47BZUtSJer4MGWWcNiALjeWPNLXK9cAvrI/6GbHbPyTzACfR6nhs03Z/eebuvpp0=
27-
state: present
28-
sudoer: true
29-
- name: shoumik
30-
ssh_keys:
31-
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINRSRTqm3vOfjyTutISEtbVp7ZddoWa9NZDZLeWZGzLy dsi@dsi-Inspiron-15-3511
32-
state: present
33-
sudoer: true
34-
- name: riku
35-
ssh_keys:
36-
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDWIF63S4f3z9wQMvWibmvl7MPuJ6EVrkP0HuvgNhcs/4DZYMcR/GRBvV4ldOSYMlBevIXycgGzNDxKJgENUuwIWanjBu7uVAHyD6+cIRD1h63qq7Cjv/2HYTfBDKOrKzPOhA6zWvKO0ZGWsjRXk5LWMCbKOkvKJCxOpj/NVBxeE4FTK5YADYPV3OSsmBtqTHrVLm2sMmShU/2hMYYswWkobidjX65+nK/X+3C+yJbHwiydVvn+QCrFlFfCLPWKe8rUpOxyxofPqWVQh6CHhHfT8okaOc9sOE8Qeip9ljo84DftJh3Xm3ynOdWK1hH2BvRvxNadWqcE1qECbkg4tx2x [email protected]
26+
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABg...Z/rhU= [email protected]
3727
state: present
3828
sudoer: true
3929

4030
backups-host:
4131
hosts:
42-
shoumikland-backup: # @todo set this to be the hostname of your backup server
43-
ansible_host: '5.223.45.193'
32+
backup: # @todo set this to be the hostname of your backup server
33+
ansible_host: '66.66.66.66'

infrastructure/server-setup/inventory/production.yml

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -30,39 +30,34 @@ all:
3030
users:
3131
# @todo this is where you define which development team members have access to the server.
3232
# If you need to remove access from someone, do not remove them from this list, but instead set their state: absent
33-
- name: riku
33+
- name: my-user
3434
ssh_keys:
35-
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDWIF63S4f3z9wQMvWibmvl7MPuJ6EVrkP0HuvgNhcs/4DZYMcR/GRBvV4ldOSYMlBevIXycgGzNDxKJgENUuwIWanjBu7uVAHyD6+cIRD1h63qq7Cjv/2HYTfBDKOrKzPOhA6zWvKO0ZGWsjRXk5LWMCbKOkvKJCxOpj/NVBxeE4FTK5YADYPV3OSsmBtqTHrVLm2sMmShU/2hMYYswWkobidjX65+nK/X+3C+yJbHwiydVvn+QCrFlFfCLPWKe8rUpOxyxofPqWVQh6CHhHfT8okaOc9sOE8Qeip9ljo84DftJh3Xm3ynOdWK1hH2BvRvxNadWqcE1qECbkg4tx2x [email protected]
36-
state: present
37-
sudoer: true
38-
- name: shoumik
39-
ssh_keys:
40-
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINRSRTqm3vOfjyTutISEtbVp7ZddoWa9NZDZLeWZGzLy dsi@dsi-Inspiron-15-3511
35+
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABg...Z/rhU= [email protected]
4136
state: present
4237
sudoer: true
4338

4439
docker-manager-first:
4540
hosts:
46-
shoumikland-prod: # @todo set this to be the hostname of your target server
47-
ansible_host: '5.223.47.240' # @todo set this to be the hostname of your target server
41+
prod-01: # @todo set this to be the hostname of your target server
42+
ansible_host: '22.22.22.22' # @todo set this to be the hostname of your target server
4843
data_label: data1
4944
# If you are using a jump server to access this environment, enter other SSH args here.
5045
# ansible_ssh_common_args: '-J [email protected] -o StrictHostKeyChecking=no' # @todo set this to be the IP address of your jump server
5146

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

6257
backups:
6358
hosts:
64-
shoumikland-backup: # @todo set this to be the hostname of your backup server
65-
ansible_host: '5.223.45.193' # set this to be the IP address of your backup server
59+
backup: # @todo set this to be the hostname of your backup server
60+
ansible_host: '66.66.66.66'
6661
# Written by provision pipeline. Assumes "backup" environment
6762
# exists in Github environments
6863
ansible_ssh_private_key_file: /tmp/backup_ssh_private_key

infrastructure/server-setup/inventory/qa.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,16 @@ all:
1111
users:
1212
# @todo this is where you define which development team members have access to the server.
1313
# If you need to remove access from someone, do not remove them from this list, but instead set their state: absent
14-
- name: riku
14+
- name: my-user
1515
ssh_keys:
16-
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDWIF63S4f3z9wQMvWibmvl7MPuJ6EVrkP0HuvgNhcs/4DZYMcR/GRBvV4ldOSYMlBevIXycgGzNDxKJgENUuwIWanjBu7uVAHyD6+cIRD1h63qq7Cjv/2HYTfBDKOrKzPOhA6zWvKO0ZGWsjRXk5LWMCbKOkvKJCxOpj/NVBxeE4FTK5YADYPV3OSsmBtqTHrVLm2sMmShU/2hMYYswWkobidjX65+nK/X+3C+yJbHwiydVvn+QCrFlFfCLPWKe8rUpOxyxofPqWVQh6CHhHfT8okaOc9sOE8Qeip9ljo84DftJh3Xm3ynOdWK1hH2BvRvxNadWqcE1qECbkg4tx2x [email protected]
17-
state: present
18-
sudoer: true
19-
- name: shoumik
20-
ssh_keys:
21-
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINRSRTqm3vOfjyTutISEtbVp7ZddoWa9NZDZLeWZGzLy dsi@dsi-Inspiron-15-3511
16+
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABg...Z/rhU= [email protected]
2217
state: present
2318
sudoer: true
2419

2520
docker-manager-first:
2621
hosts:
27-
shoumikland-qa: # @todo set this to be the hostname of your target server
28-
ansible_host: '5.223.51.253' # @todo set this to be the IP address of your server
22+
qa: # @todo set this to be the hostname of your target server
23+
ansible_host: '55.55.55.55' # @todo set this to be the IP address of your server
2924
# ansible_port: '23' # @todo set this to be the SSH port if it's not 22
3025
# internal_ssh_port: '22' # @todo if you are port-forwarding and server SSH port is not the same as ansible_port, set it here
3126
data_label: data1 # for manager machines, this should always be "data1"

infrastructure/server-setup/inventory/staging.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -32,20 +32,16 @@ all:
3232
users:
3333
# @todo this is where you define which development team members have access to the server.
3434
# If you need to remove access from someone, do not remove them from this list, but instead set their state: absent
35-
- name: riku
35+
- name: my-user
3636
ssh_keys:
37-
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDWIF63S4f3z9wQMvWibmvl7MPuJ6EVrkP0HuvgNhcs/4DZYMcR/GRBvV4ldOSYMlBevIXycgGzNDxKJgENUuwIWanjBu7uVAHyD6+cIRD1h63qq7Cjv/2HYTfBDKOrKzPOhA6zWvKO0ZGWsjRXk5LWMCbKOkvKJCxOpj/NVBxeE4FTK5YADYPV3OSsmBtqTHrVLm2sMmShU/2hMYYswWkobidjX65+nK/X+3C+yJbHwiydVvn+QCrFlFfCLPWKe8rUpOxyxofPqWVQh6CHhHfT8okaOc9sOE8Qeip9ljo84DftJh3Xm3ynOdWK1hH2BvRvxNadWqcE1qECbkg4tx2x [email protected]
38-
state: present
39-
sudoer: true
40-
- name: shoumik
41-
ssh_keys:
42-
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINRSRTqm3vOfjyTutISEtbVp7ZddoWa9NZDZLeWZGzLy dsi@dsi-Inspiron-15-3511
37+
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABg...Z/rhU= [email protected]
4338
state: present
4439
sudoer: true
40+
4541
docker-manager-first:
4642
hosts:
47-
shoumikland-staging: # @todo set this to be the hostname of your target server
48-
ansible_host: '5.223.51.99' # @todo set this to be the hostname of your target server
43+
staging: # @todo set this to be the hostname of your target server
44+
ansible_host: '11.11.11.11' # @todo set this to be the hostname of your target server
4945
data_label: data1
5046
# If you are using a jump server to access this environment, enter other SSH args here.
5147
# ansible_ssh_common_args: '-J [email protected] -o StrictHostKeyChecking=no' # @todo set this to be the IP address of your jump server
@@ -57,8 +53,8 @@ docker-workers: {}
5753
# @todo if you do not intend to set up automatic sync from the backup server, you can remove this section.
5854
backups:
5955
hosts:
60-
shoumikland-backup: # @todo set this to be the hostname of your backup server
61-
ansible_host: '5.223.45.193' # set this to be the IP address of your backup server
56+
backup: # @todo set this to be the hostname of your backup server
57+
ansible_host: '66.66.66.66' # set this to be the IP address of your backup server
6258
# Written by provision pipeline. Assumes "backup" environment
6359
# exists in Github environments
6460
ansible_ssh_private_key_file: /tmp/backup_ssh_private_key

0 commit comments

Comments
 (0)