Merge "Validations now gather only the subset of facts they need"
This commit is contained in:
commit
3a7207f10d
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- hosts: all
|
||||
gather_facts: true
|
||||
gather_facts: false
|
||||
vars:
|
||||
metadata:
|
||||
name: Verify if the server fits the CPU core requirements
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- hosts: localhost
|
||||
gather_facts: true
|
||||
gather_facts: false
|
||||
vars:
|
||||
metadata:
|
||||
name: Check if latest version of packages is installed
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- hosts: all
|
||||
gather_facts: true
|
||||
gather_facts: false
|
||||
vars:
|
||||
metadata:
|
||||
name: Verify the server fits the RAM requirements
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- hosts: all
|
||||
gather_facts: true
|
||||
gather_facts: false
|
||||
vars:
|
||||
metadata:
|
||||
name: SELinux Enforcing Mode Check
|
||||
|
|
|
@ -1,4 +1,11 @@
|
|||
---
|
||||
- name: Gather facts
|
||||
setup:
|
||||
gather_subset:
|
||||
- processor_count
|
||||
- '!all'
|
||||
- '!min'
|
||||
|
||||
- name: Verify the number of CPU cores
|
||||
fail:
|
||||
msg: >-
|
||||
|
|
|
@ -1,4 +1,15 @@
|
|||
---
|
||||
- name: Gather facts
|
||||
setup:
|
||||
gather_subset:
|
||||
- '!all'
|
||||
- '!min'
|
||||
- pkg_mgr
|
||||
|
||||
- name: Gather package facts
|
||||
package_facts:
|
||||
manager: auto
|
||||
|
||||
- name: Get available updates for packages
|
||||
check_package_update:
|
||||
package: "{{ item }}"
|
||||
|
|
|
@ -1,4 +1,11 @@
|
|||
---
|
||||
- name: Gather facts
|
||||
setup:
|
||||
gather_subset:
|
||||
- hardware
|
||||
- '!all'
|
||||
- '!min'
|
||||
|
||||
- name: Verify the RAM requirements
|
||||
fail:
|
||||
msg: >-
|
||||
|
|
Loading…
Reference in New Issue