26 lines
776 B
YAML
26 lines
776 B
YAML
---
|
|
# Provisioning of a graviton server using aws spot instance
|
|
- hosts: local
|
|
vars_prompt:
|
|
- name: ssh_pub_key_file
|
|
prompt: Location of your public ssh key
|
|
default: "~/.ssh/id_rsa.pub"
|
|
- name: aws_region
|
|
prompt: AWS Region to use for instaance
|
|
default: "us-east-1"
|
|
- name: aws_ami
|
|
prompt: Disk image to use for instance (default is ubuntu 20.10 arm64)
|
|
default: "ami-01069be104eb25898"
|
|
- name: aws_type
|
|
prompt: Instance type to request
|
|
default: "t4g.nano"
|
|
- name: dns_zone_name
|
|
prompt: Route53 zone in which nameserver entry is registered
|
|
default: "appments.net"
|
|
- name: dns_host_name
|
|
prompt: Hostname that is registered in Route53
|
|
default: "illevpn"
|
|
roles:
|
|
- aws_graviton_nano_spot
|
|
- wireguard_server
|