Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
group_vars
library @ c3b72c2
roles
Readme.md
ansible.cfg
inventory
vscale_ajenti.yml

Readme.md

Ansible playbook for Ajenti control panel installation

Usage:

Before you start put your SSH keys (private and public) into credentials folder and edit all.yml file which contains all needed variables. It is also necessary to define an API key. You can add a key in your operating system environment variables, for *nix like systems: export VS_API_KEY=<your_token>. Or you can put them directly into all.yml file: vscale_token: "<your_token>". Also you shoud clone ansible-vscale-module into library dir: git submodule init && git submodule update and add public and private SSH keys into credentials directory.

Example:
vscale_token: "{{ lookup('env', 'VS_API_KEY')}}"
key: "{{ lookup('file', 'credentials/ansible.pub') }}"

Also, add the names of the hosts in inventory file like this:

[ajenti-servers]
ajenti

[local]
localhost

When everything is ready, just start Ansible: ansible-playbook -i inventory vscale_ajenti.yml