mirror of
https://github.com/ansible/awx.git
synced 2026-01-20 06:01:25 -03:30
Update playbook to pass conditional constraints for file scanning
This commit is contained in:
parent
c0364b5bd1
commit
f6aa11eb67
@ -1,4 +1,11 @@
|
||||
- hosts: all
|
||||
vars:
|
||||
scan_use_checksum: false
|
||||
scan_use_recursive: false
|
||||
tasks:
|
||||
- scan_packages:
|
||||
|
||||
- scan_files:
|
||||
path: '{{ scan_file_path }}'
|
||||
get_checksum: '{{ scan_use_checksum }}'
|
||||
recursive: '{{ scan_use_recursive }}'
|
||||
when: scan_file_path is defined
|
||||
Loading…
x
Reference in New Issue
Block a user