Tag: 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…
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…
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…
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…
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…
Since Arch, Nginx and Ansible are already all pretty mature tools by
themselves, I though that installing Nginx on Arch system using Ansible
playbook would be a matter of seconds. But judging from an actual
experience, it is a little bit harder.
The official
ansible nginx role do…
To use ansible on the Arch based system, either for a local provision or on
the VPS such as Linode or Contabo to name the ones that I have tested,
these steps are required:
Install Community General Collection:
ansible-galaxy collection install community.general
Optionally che…