Skip to content

Commit

Permalink
Merge pull request #33 from Trane9991/main
Browse files Browse the repository at this point in the history
Fix condition for `falcon_provisioning_token`
  • Loading branch information
redhatrises authored Mar 8, 2021
2 parents 1557959 + 11e3812 commit 5a683d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions roles/falcon_installation/tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
- name: CrowdStrike Falcon | Associate Falcon Sensor with your Customer ID (CID)
command: "/opt/CrowdStrike/falconctl -s -f --cid={{ falcon_cid }}"
when:
- falcon_provisioning_token is not defined
- not falcon_provisioning_token
- falcon_cid
- ansible_facts.packages
- installed_sensor in ansible_facts.packages
Expand All @@ -82,7 +82,7 @@
- name: CrowdStrike Falcon | Associated Falcon Sensor with your Customer ID (CID) Using Provisioning Token
command: "/opt/CrowdStrike/falconctl -s -f --cid={{ falcon_cid }} --provisioning-token={{ falcon_provisioning_token }}"
when:
- falcon_provisioning_token is defined
- falcon_provisioning_token
- falcon_cid is defined
- ansible_facts.packages
- installed_sensor in ansible_facts.packages
Expand Down

0 comments on commit 5a683d5

Please sign in to comment.