Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | provision.yaml: Use environment value of VPS_VOLUME_NAME | EuAndreh | 2020-08-02 | 1 | -48/+0 |
| | |||||
* | provision.yaml: Create the docker network before starting docker-compose | EuAndreh | 2020-08-02 | 1 | -0/+3 |
| | |||||
* | Update docker_compose Ansible module | EuAndreh | 2020-08-02 | 1 | -1/+1 |
| | |||||
* | Run shutdown with Ansible instead of Bash | EuAndreh | 2019-06-11 | 1 | -1/+0 |
| | |||||
* | Output all generated files on ./generated/, refactor .envrc variables | EuAndreh | 2019-06-10 | 1 | -3/+3 |
| | |||||
* | Don't run restore backup Ansible task when not required | EuAndreh | 2019-06-10 | 1 | -1/+2 |
| | | | | | | | Instead of performing this task on the generated =restore-backup.sh= file, do it on provision.yaml. The boolean logic is less confusing and the interpolation is less tricky. | ||||
* | Add =any_errors_fatal: true= to provision.yml playbook | EuAndreh | 2019-06-07 | 1 | -0/+2 |
| | |||||
* | Uncomment docker-compose starting Ansible task | EuAndreh | 2019-06-06 | 1 | -5/+5 |
| | |||||
* | Don't start docker-compose services while debugging restore-backup.sh | EuAndreh | 2019-06-06 | 1 | -5/+5 |
| | |||||
* | Add mode to all files being copied by Ansible | EuAndreh | 2019-06-06 | 1 | -7/+7 |
| | | | | | | | | | | Use strict 400 or 500 modes: r: 4 w: 2 x: 1 4 means read-only, while 5 means readable and executable. None are writable: immuatable infrastructure check. | ||||
* | Re-add Ansible task to create /home/vps/ directory | EuAndreh | 2019-06-05 | 1 | -0/+4 |
| | |||||
* | Restore backup in Ansible instead of Bash | EuAndreh | 2019-06-05 | 1 | -9/+10 |
| | |||||
* | Restore from backup in fresh volume | EuAndreh | 2019-06-05 | 1 | -0/+2 |
| | |||||
* | Add volume to VPS | EuAndreh | 2019-06-05 | 1 | -0/+5 |
| | | | | Don't destroy everything on deploy. This would destroy the volume too. | ||||
* | Add borgbackup package in Ansible recipe | EuAndreh | 2019-06-05 | 1 | -2/+2 |
| | |||||
* | Use Ansible instead of Bash for provisioning | EuAndreh | 2019-06-05 | 1 | -0/+31 |
The deployment is not quite working, and I'm unable to test right now: DigitalOcean is returning 503 for my requests. As of this commit, I can run =ansible-playbook provider.yml= more than once and it will actually be idempotent. Notes: - SSH fingerprint are now taken from the public key file instead of manually supplying it in the terraform template using the =digitalocean_ssh_key= resource; - use Ansible instead of ad-hoc Bash scripts for provisioning the Droplets created by Terraform; - use the =filename.env.extension= to create the concrete files in CI; - use the =user_data= to add the know SSH key pair to the newly created Droplet; - add =rotate-ssh-keys.sh= utils; |