Posts for: #Ansible

Ansible Blocky

I’ve given myself a personal goal of creating 100 ansible playbooks, I suppose roles would also count. The destination is essentially accomplishing 100 goals with ansible.

These are what I’ve already accomplished.

  • blocky.yml
  • install_disable_usb_wake.yml
  • install_sshd_config.yml
  • install_sudo.yml
  • lynis.yml
  • podman.yml
  • promtail.yml
  • run_updates.yml

Overall not terribly complex roles, most of them have hardcoded defaults but that’ll probably get resolved when the existing playbooks get converted to roles.

Most recently I made a playbook that setup and configured blocky-dns which would be my 8th playbook.

[Read more]

Ansible Handler

Spent a good part of the morning working on writing an Ansible playbook to install and setup promtail on a new server, adding it to the central logging setup.

At first I started manually downloading the binary and manually installing it when I remembered I wanted to work on using ansible more. So I stopped where I was and started over again except this time electing to use the power of automation. Pretty simple what we needed to do

[Read more]

Usb Wake

When done working on my desktop I suspend it, either through the Cinnamon panel or via systemctl suspend. But it had an issue. I would frequently come downstairs to find it on. The monitors with their familiar glow lighting up the room. My desktop running Linux Mint had a problem. Some initial diagnosis lead me to finding out that the issue was that the keyboard and mouse, paired with the lovely kitties were waking it from it’s slumber.

[Read more]