deploy_to_systems.yaml 483 B

12345678910111213141516
  1. ---
  2. - hosts: all
  3. vars:
  4. - install_file_path: "include/"
  5. - rpm_filename: "SentinelAgent_linux_v22_4_2_4.rpm"
  6. - deb_filename: "SentinelAgent_linux_v22_4_2_4.deb"
  7. - script_file: "include/activation_script.sh"
  8. - new_host_fqdn: "{{ ansible_fqdn }}"
  9. - site_token: "{{ dd_site_token }}"
  10. tasks:
  11. - name: Import the Datadog Agent role from the Datadog collection
  12. import_role:
  13. name: datadog.dd.agent
  14. vars:
  15. datadog_api_key: "{{ dd_api_key }}"