Added basic checks playbook
This commit is contained in:
@@ -0,0 +1,8 @@
|
|||||||
|
- name: Basic system checks
|
||||||
|
hosts: all
|
||||||
|
tasks:
|
||||||
|
- name: Check to make sure the package manager is apt
|
||||||
|
fail:
|
||||||
|
msg: "Package manager is not apt"
|
||||||
|
when: "ansible_pkg_mgr != 'apt'"
|
||||||
|
|
||||||
Reference in New Issue
Block a user