set up pdc host

This commit is contained in:
Mark O'Brien 2021-04-22 11:27:35 +01:00
parent 5448041f08
commit 90bdc36f76
5 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1 @@
hosted_zone_address: arc.fedorainfracloud.org

24
ansible/host_vars/pdc.yml Normal file
View 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"
#

View file

@ -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

View file

@ -61,4 +61,5 @@
record: "{{dns_name}}.{{hosted_zone_address}}"
type: A
value: "{{ec2_instance.instances[0].public_ip_address}}"
overwrite: yes
wait: yes

Binary file not shown.