One minute
Ansible + Linode API + CentOS
Fast Mode ON! If you don’t understand anything…. try to ask it in the comments.
Requirements for CentOS:
yum install pip
pip install linode-python
pip install chube
Template:
These values are from the API:
plan: 1 #cheapest
datacenter: 6 #newmark NJ
distribution: 127 #centos 6.5
There are different values and you will need to ask them to the API so, to see full info of these three from Linode API (distributions IDs, datacenters and plans), you can run this Node.js script:
Don’t forget the sudo npm install linode-api -g
:)
Fast Mode OFF!
93 Words
May, 2015