-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.yml
18 lines (17 loc) · 896 Bytes
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
hosts_group: new
# API documentation: https://developers.linode.com/api/v4/
linode_label: dragon
linode_type: g6-nanode-1 # https://api.linode.com/v4/linode/types
linode_region: us-east # https://api.linode.com/v4/regions
# linode_image: linode/arch # https://api.linode.com/v4/images
# linode_image: linode/ubuntu21.10
linode_image: linode/alpine3.16
# create Personal Access Token by clicking your profile in the upper right
# My Profile -> API Tokens -> [+] Add a Personal Access Token
# Give read/write access to at least Linodes, if not everything else
# Put PAT in ansible hosts file e.g. /usr/local/etc/ansible/hosts
# under [local:vars] after defining [local] as localhost
linode_token: "{{ maximum_ethics_linode_token }}"
# put local_hostname in /usr/local/etc/ansible/host_vars/[servername]
# put inventory_directory in host_vars/localhost/vars.yml
# inventory_directory: /etc/ansible