<feed xmlns='http://www.w3.org/2005/Atom'>
<title>toph/secrets/ssh/vps-box-server, branch main</title>
<subtitle>Setup and configuration for VPS and other personal server
</subtitle>
<id>http://euandre.org/git/toph/atom?h=main</id>
<link rel='self' href='http://euandre.org/git/toph/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://euandre.org/git/toph/'/>
<updated>2020-08-10T15:45:43Z</updated>
<entry>
<title>Migration: Remove Ansible and Docker code, move only to NixOS</title>
<updated>2020-08-10T15:45:43Z</updated>
<author>
<name>EuAndreh</name>
<email>eu@euandre.org</email>
</author>
<published>2020-08-10T15:15:49Z</published>
<link rel='alternate' type='text/html' href='http://euandre.org/git/toph/commit/?id=100ab568e3aeb512e86fd1155a73454d22e24895'/>
<id>urn:sha1:100ab568e3aeb512e86fd1155a73454d22e24895</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Script: rotate SSH keys</title>
<updated>2019-06-05T22:44:12Z</updated>
<author>
<name>EuAndreh</name>
<email>eu@euandre.org</email>
</author>
<published>2019-06-05T22:44:12Z</published>
<link rel='alternate' type='text/html' href='http://euandre.org/git/toph/commit/?id=5ef193b08008903e1f2cac4f89b84963975f4150'/>
<id>urn:sha1:5ef193b08008903e1f2cac4f89b84963975f4150</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Script: rotate SSH keys</title>
<updated>2019-06-05T22:37:40Z</updated>
<author>
<name>EuAndreh</name>
<email>eu@euandre.org</email>
</author>
<published>2019-06-05T22:37:40Z</published>
<link rel='alternate' type='text/html' href='http://euandre.org/git/toph/commit/?id=bc426ca3e3d9c1a10786ea54f44877affb3faeec'/>
<id>urn:sha1:bc426ca3e3d9c1a10786ea54f44877affb3faeec</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Script: rotate SSH keys</title>
<updated>2019-06-05T22:27:26Z</updated>
<author>
<name>EuAndreh</name>
<email>eu@euandre.org</email>
</author>
<published>2019-06-05T22:27:26Z</published>
<link rel='alternate' type='text/html' href='http://euandre.org/git/toph/commit/?id=fd205c2b81edb09819dece00c05a7fc2bf8b35ea'/>
<id>urn:sha1:fd205c2b81edb09819dece00c05a7fc2bf8b35ea</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix git-crypt configuration</title>
<updated>2019-06-05T22:25:05Z</updated>
<author>
<name>EuAndreh</name>
<email>eu@euandre.org</email>
</author>
<published>2019-06-05T22:23:59Z</published>
<link rel='alternate' type='text/html' href='http://euandre.org/git/toph/commit/?id=b5195ce90b7357a4b963861f62343ac26adc0e1a'/>
<id>urn:sha1:b5195ce90b7357a4b963861f62343ac26adc0e1a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use Ansible instead of Bash for provisioning</title>
<updated>2019-06-05T19:42:06Z</updated>
<author>
<name>EuAndreh</name>
<email>eu@euandre.org</email>
</author>
<published>2019-06-05T19:38:53Z</published>
<link rel='alternate' type='text/html' href='http://euandre.org/git/toph/commit/?id=54fd61c887f266f8e2e6b1419a86fc6681116069'/>
<id>urn:sha1:54fd61c887f266f8e2e6b1419a86fc6681116069</id>
<content type='text'>
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;
</content>
</entry>
</feed>
