Repos with recipes to deploy some infrastructure services
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

34 行
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