Tag: ansible

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…

Nginx on Arch using Ansible

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…

Using pacman with Ansible

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…

Things to do after installing ansible on Arch

After installing ansible package I start with listing all the available roles: ansible-galaxy list I am immediately greeted with two warnings: [WARNING]: - the configured path /usr/share/ansible/roles does not exist. [WARNING]: - the configured path /etc/ansible/roles does not e…