Project

General

Profile

Ansible with an alternate Linode » History » Version 2

Jon Goldberg, 11/09/2020 07:37 PM

1 2 Jon Goldberg
{{last_updated_at}} by {{last_updated_by}}
2
3 1 Jon Goldberg
# Ansible with an alternate Linode
4
5
If you have a client's Linode account and want to do provisioning, here's what to do:
6
* Create an API key in your Linode Manager profile.  Store it in `pass`: `pass insert <clientabbreviation>/linode/apikey`.
7
* Add your public key(s) in the Linode Manager profile ("Lish Settings").
8
* Add the server/sites to the CRM as normal.
9
* Create a `host_vars` folder for your server.  Set `linode_api_key` and `linode_username`.  See `hostvars/communitydesign.org` for an example.
10
* Provision as usual.