A repository to start and setup a "cloud desktop". Feature include:
- Spinning up resources in DigitalOcean.
- Exposing a DNS name using AWS Route53.
- Installing ansible, atom, molecule, gnome.
You can connect to the machine using RDP.
Please install these tools:
| Role name | GitHub Action | GitLab CI | Version |
|---|---|---|---|
| bootstrap | |||
| update | |||
| lvm | |||
| filesystem | |||
| mount | |||
| grub | |||
| locale | |||
| buildtools | |||
| python_pip | |||
| digitalocean-agent | |||
| sysstat | |||
| auto_update | |||
| cron | |||
| ntp | |||
| openssh | |||
| fail2ban | |||
| firewall | |||
| postfix | |||
| docker | |||
| libvirt | |||
| users | |||
| git | |||
| atom | |||
| ansible | |||
| molecule | |||
| software | |||
| hashicorp | |||
| gnome | |||
| xrdp | |||
| zabbix_repository | |||
| zabbix_agent |
Please set these variables:
TF_VAR_do_tokenAWS_ACCESS_KEY_IDAWS_SECRET_ACCESS_KEY
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.
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.nameusers_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.