--- - name: Ubuntu-Checking to see if Crowdstrike is already installed command: /bin/bash -c "yum info falcon-sensor" register: crowd_installed changed_when: false ignore_errors: true - name: Ubuntu-Download Crowdstrike agent install script get_url: url: "http://{{ katelloURL }}/pulp/isos/NeXT/Library/custom/Misc/Misc-zip-packages/{{ Crowdstrike_version_deb }}" dest: "/opt/{{ Crowdstrike_version_deb }}" mode: 0770 force: "yes" when: crowd_installed is failed - name: Ubuntu-Install Crowdstrike agent apt: deb: "/opt/{{ Crowdstrike_version_deb }}" state: present when: crowd_installed is failed - name: Ubuntu-Configuring the CrowdStrike Falcon Service with the Customer ID ... shell: "./falconctl -s -f --cid={{ Crowdstrike_cid }}" args: chdir: /opt/CrowdStrike/ executable: /bin/sh when: crowd_installed is failed - name: Ubuntu-Configuring the CrowdStrike Falcon Service Assign a unique ID... shell: "./falconctl -d -f --aid" args: chdir: /opt/CrowdStrike/ executable: /bin/sh when: crowd_installed is failed - name: Ubuntu-Starting the CrowdStrike Falcon Service ... service: name: falcon-sensor enabled: True state: started when: crowd_installed is failed