hyperfocus1337 / ansible-playbook-cloudtop

A cloud desktop.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CloudTop - My desktop in the cloud.

A repository to start and setup a "cloud desktop". Feature include:

  • Spinning up resources in DigitalOcean.
  • Exposing a DNS name using CloudFlare.
  • Installing ansible, atom, molecule, gnome.

You can connect to the machine using RDP.

Requirements

Packages

Please install these tools:

Ansible Roles

Role name GitHub Action GitLab CI Version
bootstrap github gitlab version
update github gitlab version
lvm github gitlab version
filesystem github gitlab version
mount github gitlab version
grub github gitlab version
locale github gitlab version
buildtools github gitlab version
python_pip github gitlab version
digitalocean-agent github gitlab version
sysstat github gitlab version
auto_update github gitlab version
cron github gitlab version
ntp github gitlab version
openssh github gitlab version
fail2ban github gitlab version
firewall github gitlab version
postfix github gitlab version
docker github gitlab version
libvirt github gitlab version
users github gitlab version
git github gitlab version
atom github gitlab version
ansible github gitlab version
molecule github gitlab version
software github gitlab version
hashicorp github gitlab version
gnome github gitlab version
xrdp github gitlab version
zabbix_repository github gitlab version
zabbix_agent github gitlab version

Variables

Please set these variables:

  • TF_VAR_do_token
  • TF_VAR_cloudflare_api_token

SSH keys

Please create a directory ssh_keys, cd into that directory and either place your public key, or generate a new one. (ssh-keygen -f id_rsa).

The public key is used to allow access (using root) to the machine so Ansible can configure the instance.

Custom values

Have a look in terraform/terraform.tfvars and change values to your preference.

Also have a look at ansible/group_vars/all/users.yml to change at least:

  • users_user_list.name
  • users_user_list.authorized_keys

The file ansible/group_vars/all/git.yml contains a list of repositories that are cloned to the instance. You may want to change values here too.

About

A cloud desktop.


Languages

Language:HCL 100.0%