set up pdc host
This commit is contained in:
parent
5448041f08
commit
90bdc36f76
5 changed files with 28 additions and 0 deletions
1
ansible/host_vars/all.yml
Normal file
1
ansible/host_vars/all.yml
Normal file
|
@ -0,0 +1 @@
|
|||
hosted_zone_address: arc.fedorainfracloud.org
|
24
ansible/host_vars/pdc.yml
Normal file
24
ansible/host_vars/pdc.yml
Normal file
|
@ -0,0 +1,24 @@
|
|||
ami_id: ami-01efb339f953fdf36 #Fedora33 cloud image us-east-1
|
||||
ssh_key_name: 'siddharthvipul'
|
||||
instance_name: "pdc-postgres-test"
|
||||
disk_size: 100
|
||||
subnet_id: subnet-0ebb9d7d8e4db80df
|
||||
security_group_name: "pdc-postgrest"
|
||||
vpc_id: vpc-0fe7ead908f270a09
|
||||
aws_region: us-east-1
|
||||
open_ports: [22, 80, 443, 5432, 5433]
|
||||
instance_type: m4.xlarge
|
||||
initiative_name: pdc
|
||||
dns_name: pdc
|
||||
|
||||
env: "production"
|
||||
#wsgi_wants_apache: True
|
||||
#
|
||||
## postgresql related vars
|
||||
#
|
||||
## kernel SHMMAX value
|
||||
#kernel_shmmax: 68719476736
|
||||
#
|
||||
#shared_buffers: "4GB"
|
||||
#effective_cache_size: "12GB"
|
||||
#
|
|
@ -6,3 +6,5 @@ datanommer-test ansible_host=54.236.16.215
|
|||
datanommer-timescale ansible_host=54.146.95.101
|
||||
[datanommer-adam]
|
||||
datanommer-adam ansible_host=54.90.63.232
|
||||
[pdc]
|
||||
pdc ansible_host=100.27.3.145
|
||||
|
|
|
@ -61,4 +61,5 @@
|
|||
record: "{{dns_name}}.{{hosted_zone_address}}"
|
||||
type: A
|
||||
value: "{{ec2_instance.instances[0].public_ip_address}}"
|
||||
overwrite: yes
|
||||
wait: yes
|
||||
|
|
BIN
ansible/secrets/siddharthvipul.pub
Normal file
BIN
ansible/secrets/siddharthvipul.pub
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue