Files
awx/awx/playbooks/scan_facts.yml
Matthew Jones a1fbee4fa0 Refactor scan_packages for os detection
* Use setup facts ansible_os_family for os family detection now.  Add
  support for Suse and it's ilk (which has a pretty ugly OS family
  implementation
2015-11-24 14:19:09 -05:00

13 lines
365 B
YAML

- hosts: all
vars:
scan_use_checksum: false
scan_use_recursive: false
tasks:
- scan_packages:
os_family: '{{ ansible_os_family }}'
- scan_services:
- scan_files:
paths: '{{ scan_file_paths }}'
get_checksum: '{{ scan_use_checksum }}'
recursive: '{{ scan_use_recursive }}'
when: scan_file_paths is defined