Ansible, right way to enable EPEL: yum_repository vs yum?
Neither solution worked for me on an a1.large instance running Amazon Linux 2 What I did was – name: Ensure epel repo present … Read more
Neither solution worked for me on an a1.large instance running Amazon Linux 2 What I did was – name: Ensure epel repo present … Read more
How to enable multiple services at once with firewalld module – Ansible
If you have sudo access to change destination dir, you can use below var ansible_user: username ansible_ssh_pass: password become: yes become_method: sudo ansible_become_password: … Read more
I really wish ignore_errors wasn’t simple yes/no check. That would’ve make our life much more simpler. Recently I discovered this brilliant trick. With … Read more
Background With ansible you can either depend on the ansible.cfg file to designate the name of the inventory file or you can specify … Read more
This might be a little late, but you don’t need to use failed_when when you are using the fail module. A regular when … Read more
Configuration management via versioned packages
You can check with the failed Jinja2 filter after running your command that checks if the process is running. Here is an example … Read more
Terminate and disable/remove unattended upgrade before command returns
I figured out a way to make this work without a connection plugin. Basically you can write a script that wraps the gcloud … Read more