Ansible: check if a package is installed on a remote system
10 March 2019Have a self-written letsencrypt role (see the Prometheus: RTFM blog monitoring set up with Ansible – Grafana, Loki, and promtail post). Before running the Let’s Encrypt client to obtain a new certificate – need to check if NGINX is installed on a remote host. Let’s use the package_facts module: … – name: “Check if NGINX is… Read More »