This commit is contained in:
Stefan Märkle 2021-11-22 12:02:37 +01:00
parent 5674d13cba
commit 6f82b3518b

View File

@ -3,13 +3,15 @@
- name: provisions a graviton server as aws spot instance - name: provisions a graviton server as aws spot instance
hosts: localhost hosts: localhost
connection: local connection: local
vars:
ansible_python_interpreter: /usr/bin/python3
vars_prompt: vars_prompt:
- name: ssh_pub_key_file - name: ssh_pub_key_file
prompt: Location of your public ssh key prompt: Location of your public ssh key
default: "~/.ssh/id_rsa.pub" default: "~/.ssh/keys/Amazon_RSA.pub"
private: no private: no
- name: aws_region - name: aws_region
prompt: AWS Region to use for instaance prompt: AWS Region to use for instance
default: "us-east-1" default: "us-east-1"
private: no private: no
- name: aws_ami - name: aws_ami