update patch report
This commit is contained in:
@@ -5,30 +5,24 @@
|
||||
report_server: node1
|
||||
|
||||
tasks:
|
||||
- name: Ensure Unix/Linux platforms only
|
||||
assert:
|
||||
that: ansible_os_family != "Windows"
|
||||
|
||||
- name: Scan packages (Unix/Linux)
|
||||
demo.patching.scan_packages:
|
||||
os_family: "{{ ansible_os_family }}"
|
||||
|
||||
- name: Scan services (Unix/Linux)
|
||||
demo.patching.scan_services:
|
||||
- include_role:
|
||||
name: demo.patching.patch_linux
|
||||
|
||||
- block:
|
||||
- yum:
|
||||
name: httpd
|
||||
state: latest
|
||||
check_mode: no
|
||||
|
||||
- service:
|
||||
name: httpd
|
||||
state: started
|
||||
check_mode: no
|
||||
|
||||
- include_role:
|
||||
name: demo.patching.build_report_linux
|
||||
name: demo.patching.report_linux
|
||||
|
||||
- include_role:
|
||||
name: demo.patching.build_report_linux_patch
|
||||
name: demo.patching.report_linux_patch
|
||||
delegate_to: "{{ report_server }}"
|
||||
run_once: yes
|
||||
Reference in New Issue
Block a user