Repos with recipes to deploy some infrastructure services
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 

42 satır
1.3 KiB

  1. ---
  2. - name: Ubuntu-Checking to see if Crowdstrike is already installed
  3. command: /bin/bash -c "yum info falcon-sensor"
  4. register: crowd_installed
  5. changed_when: false
  6. ignore_errors: true
  7. - name: Ubuntu-Download Crowdstrike agent install script
  8. get_url:
  9. url: "http://{{ katelloURL }}/pulp/isos/NeXT/Library/custom/Misc/Misc-zip-packages/{{ Crowdstrike_version_deb }}"
  10. dest: "/opt/{{ Crowdstrike_version_deb }}"
  11. mode: 0770
  12. force: "yes"
  13. when: crowd_installed is failed
  14. - name: Ubuntu-Install Crowdstrike agent
  15. apt:
  16. deb: "/opt/{{ Crowdstrike_version_deb }}"
  17. state: present
  18. when: crowd_installed is failed
  19. - name: Ubuntu-Configuring the CrowdStrike Falcon Service with the Customer ID ...
  20. shell: "./falconctl -s -f --cid={{ Crowdstrike_cid }}"
  21. args:
  22. chdir: /opt/CrowdStrike/
  23. executable: /bin/sh
  24. when: crowd_installed is failed
  25. - name: Ubuntu-Configuring the CrowdStrike Falcon Service Assign a unique ID...
  26. shell: "./falconctl -d -f --aid"
  27. args:
  28. chdir: /opt/CrowdStrike/
  29. executable: /bin/sh
  30. when: crowd_installed is failed
  31. - name: Ubuntu-Starting the CrowdStrike Falcon Service ...
  32. service:
  33. name: falcon-sensor
  34. enabled: True
  35. state: started
  36. when: crowd_installed is failed