We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67beb98 commit 42cec9bCopy full SHA for 42cec9b
roles/sentinelone_client_legacy/tasks/main.yml
@@ -54,6 +54,13 @@
54
notify: Create initialization file
55
when: sentinelone_client_token is defined and sentinelone_client_token != ''
56
57
+- name: Set SentinelOne customer_id
58
+ ansible.builtin.command: "/opt/sentinelone/bin/sentinelctl management customer_id set {{ sentinelone_client_customer_id }}"
59
+ register: customer_id_output
60
+ changed_when: "'customer id successfully set' in customer_id_output.stdout|lower"
61
+ become: true
62
+ when: sentinelone_client_customer_id | length > 0
63
+
64
- name: Start agent
65
ansible.builtin.command: /opt/sentinelone/bin/sentinelctl control start
66
register: start_output
0 commit comments