ansible-role-nginx/molecule/uninstall/verify.yml
2021-12-07 02:47:13 +01:00

12 lines
248 B
YAML

---
- name: Verify
hosts: all
tasks:
- name: Check if NGINX is installed
package:
name: nginx
state: absent
check_mode: true
register: install
failed_when: (install is changed) or (install is failed)