Sha256: d156a77199a28435fef6bf5fa48134b3e4c5ae29f67ab4e044edbd2c7bf1975b
Contents?: true
Size: 531 Bytes
Versions: 58
Compression:
Stored size: 531 Bytes
Contents
<%# name: Run OpenSCAP scans - Ansible Default job_category: OpenSCAP Ansible Commands description_format: Run scan for all OpenSCAP policies on given hosts snippet: false provider_type: Ansible kind: job_template model: JobTemplate %> <% raise "Create and assign a policy to this host before proceeding" if @host.policies_enc_raw.empty? -%> --- - hosts: all tasks: <% @host.policies_enc_raw.each do |policy| -%> - shell: /usr/bin/foreman_scap_client <%= policy['id'] %> register: out - debug: var=out <% end -%>
Version data entries
58 entries across 58 versions & 1 rubygems