Tag: ansible

How to install Caddy using ansible

I have spent some time trying to convert the curl | bash magic coming from official Caddy docs to an ansible playbook. I mean, I have probably not reduced any risks such as lack of transparency, man-in-the-middle attacks, malicious payloads or missing verification of authenticity…

Issues restoring Gitea from dump

Somehow, the official documentation for restoring Gitea from dump did not work for me. Roughly, the following command for the original rootful Docker image could look like this: /app/gitea/gitea dump --file gitea-dump.zip -c /data/gitea/conf/app.ini --skip-lfs-data --skip-reposit…

Tips for a rootless Docker on Arch with Ansible

There are a few pitfalls worth noting when using Ansible when the remote is an Arch machine. I know, a weird combination. It looks more and more like basically no-one uses Arch remote with Ansible. But hey, I like it, so learning (and documenting) a thing or two along the way mig…

Nginx on Arch using Ansible pt.3

See also part 1 and part 2. Digging deeper after successfully made use of the template for the nginx.conf.j2 in the previous post I tried to utilize the virtual hosts template accessible in vhosts.j2 by copying the template and referencing it locally (the thing same I did with wi…

Nginx on Arch using Ansible pt.2

This is an update to the post I made a week earlier. Issue got no reaction whatsoever on GitHub so far. For short, The original issue described the fact, that running the associated Ansible Galaxy role would fail on every subsequent run on Arch based systems, because of the dupli…