File tree Expand file tree Collapse file tree 3 files changed +66
-10
lines changed
deploy/crowdstrike/roles/configure/tasks
manual/definitions/infra-agent Expand file tree Collapse file tree 3 files changed +66
-10
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ - debug :
3
+ msg : Deploy CrowdStrike Falcon Sensor
4
+
5
+
6
+ - name : Install CrowdStrike Falcon Sensor
7
+ block :
8
+ - include_role :
9
+ name : newrelic.crowdstrike_provision.install_crowdstrike_falcon
10
+ become : true
11
+ vars :
12
+ falcon_client_id : " {{ lookup('env', 'CROWDSTRIKE_CLIENT_ID') }}"
13
+ falcon_client_secret : " {{ lookup('env', 'CROWDSTRIKE_CLIENT_SECRET') }}"
14
+ falcon_customer_id : " {{ lookup('env', 'CROWDSTRIKE_CUSTOMER_ID') }}"
15
+ api_base_url : " https://api.laggar.gcw.crowdstrike.com"
16
+
17
+ - name : Validate sensor is running
18
+ shell : ps -e | grep falcon-sensor | grep -v grep | wc -l
19
+ register : is_sensor_running
20
+ become : true
21
+
22
+ - name : Ensure Falcon is started
23
+ ansible.builtin.fail :
24
+ msg : falcon-sensor is not running
25
+ when : is_sensor_running.stdout|int == 0
Original file line number Diff line number Diff line change
1
+ {
2
+ "global_tags" : {
3
+ "owning_team" : " virtuoso" ,
4
+ "Environment" : " development" ,
5
+ "Department" : " product" ,
6
+ "Product" : " virtuoso"
7
+ },
8
+ "resources" : [
9
+ {
10
+ "id" : " infracsubuntu20" ,
11
+ "provider" : " aws" ,
12
+ "type" : " ec2" ,
13
+ "size" : " t3.nano" ,
14
+ "ami_name" : " ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-????????" ,
15
+ "user_name" : " ubuntu"
16
+ }
17
+ ],
18
+ "instrumentations" : {
19
+ "resources" : [
20
+ {
21
+ "id" : " crowdstrike" ,
22
+ "resource_ids" : [
23
+ " infracsubuntu20"
24
+ ],
25
+ "source_repository" : " https://github.com/newrelic/open-install-library" ,
26
+ "deploy_script_path" : " test/deploy/crowdstrike/roles"
27
+ }
28
+ ]
29
+ }
30
+ }
Original file line number Diff line number Diff line change 5
5
"Department" : " product" ,
6
6
"Product" : " virtuoso"
7
7
},
8
-
9
- "resources" : [{
10
- "id" : " infraubuntu20" ,
11
- "provider" : " aws" ,
12
- "type" : " ec2" ,
13
- "size" : " t3.nano" ,
14
- "ami_name" : " ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-????????" ,
15
- "user_name" : " ubuntu"
16
- }]
17
- }
8
+ "resources" : [
9
+ {
10
+ "id" : " infraubuntu20" ,
11
+ "provider" : " aws" ,
12
+ "type" : " ec2" ,
13
+ "size" : " t3.nano" ,
14
+ "ami_name" : " ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-????????" ,
15
+ "user_name" : " ubuntu"
16
+ }
17
+ ]
18
+ }
You can’t perform that action at this time.
0 commit comments