Repos with recipes to deploy some infrastructure services
Você não pode selecionar mais de 25 tópicos
Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
|
- ---
- - name: RedHat-copy Crowdstrike agent install script
- copy:
- src: "{{ download_dir | default('.', true)}}/{{ Crowdstrike_version_rh }}"
- dest: "/opt/{{ Crowdstrike_version_rh }}"
-
- - name: RedHat-Install Crowdstrike agent
- yum:
- name: "/opt/{{ Crowdstrike_version_rh }}"
- state: present
-
- - name: RedHat-Configuring the CrowdStrike Falcon Service with the Customer ID ...
- shell: "./falconctl -s -f --apd=true --cid={{ Crowdstrike_cid }}"
- args:
- chdir: /opt/CrowdStrike/
- executable: /bin/sh
-
- - name: RedHat-Starting the CrowdStrike Falcon Service ...
- service:
- name: falcon-sensor
- enabled: True
- state: restarted
-
- - name: RedHat-Check Crowdstrike obtained ID else fail
- shell: "./falconctl -g --aid"
- args:
- chdir: /opt/CrowdStrike/
- executable: /bin/sh
- register: crowd_result
- failed_when: "'aid is not set' in crowd_result.stdout"
- retries: 6
- until: crowd_result is succeeded
- delay: 30
|