--- # host-query / linux / t1 "Standard" # # The quick start as a role: questions kept as data you can extend per # environment, the configuration checked by osquery before it is used, and a # read-back proving the daemon is answering. # # group_vars/all.yml # osquery_package_url: https://.../osquery_-1.linux_amd64.deb # osquery_package_sha256: # osquery_extra_queries: # app_config_files: # query: "SELECT path, mtime, sha256 FROM hash WHERE directory = '/opt/app/config';" # interval: 3600 # # Run: # ansible-playbook -i inventory.ini site.yml --check --diff # ansible-playbook -i inventory.ini site.yml - name: Ask every host the same questions hosts: all become: true gather_facts: true roles: - role: osquery tags: [osquery]