Update to use secrets to get container from github workflow

This commit is contained in:
2024-10-15 17:45:38 +01:00
parent 11f55cd96c
commit 87ce6d5b9d
7 changed files with 44 additions and 2 deletions

23
README.md Normal file → Executable file
View File

@@ -1,3 +1,26 @@
```bash
# install roles and collections
ansible-galaxy install -r requirements.yml
# Install the playbook
ansible-playbook -i inventory frontend.yaml
# Check the cron jobs
crontab -u matt -l
```
TODO: Update the pre/post scripts at /etc/letsencrypt/renewal-hooks to stop/start docker reverse_proxy
TODO: Update cron to run certbot as root
If the above is done, I'm not sure the blow is needed...
TODO: Ensure /var/log/letsencrypt, /var/lib/letsencryprt and maybe /etc/letsencrypt are writable as the ansible user.
Something like
```bash
chgrp adm /var/log/letsencrypt
chmod g+rwx /var/log/letsencrypt
chgrp -R adm /etc/letsencrypt/
chmod -R g+rwx /etc/letsencrypt/
chgrp adm /var/lib/letsencrypt
chmod g+rwx /var/lib/letsencrypt
```