Repos with recipes to deploy some infrastructure services
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

34 lignes
977 B

  1. ---
  2. - name: RedHat-copy Crowdstrike agent install script
  3. copy:
  4. src: "{{ download_dir | default('.', true)}}/{{ Crowdstrike_version_rh }}"
  5. dest: "/opt/{{ Crowdstrike_version_rh }}"
  6. - name: RedHat-Install Crowdstrike agent
  7. yum:
  8. name: "/opt/{{ Crowdstrike_version_rh }}"
  9. state: present
  10. - name: RedHat-Configuring the CrowdStrike Falcon Service with the Customer ID ...
  11. shell: "./falconctl -s -f --apd=true --cid={{ Crowdstrike_cid }}"
  12. args:
  13. chdir: /opt/CrowdStrike/
  14. executable: /bin/sh
  15. - name: RedHat-Starting the CrowdStrike Falcon Service ...
  16. service:
  17. name: falcon-sensor
  18. enabled: True
  19. state: restarted
  20. - name: RedHat-Check Crowdstrike obtained ID else fail
  21. shell: "./falconctl -g --aid"
  22. args:
  23. chdir: /opt/CrowdStrike/
  24. executable: /bin/sh
  25. register: crowd_result
  26. failed_when: "'aid is not set' in crowd_result.stdout"
  27. retries: 6
  28. until: crowd_result is succeeded
  29. delay: 30