Skip to content

Commit

Permalink
Remove installation package after installation (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisvanmeer authored Dec 29, 2023
1 parent 10887cb commit ccf4e98
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@
- name: Include installation tasks
ansible.builtin.include_tasks: "install_{{ ansible_os_family | regex_replace(' ', '_') | lower }}.yml"

- name: Remove installation package
ansible.builtin.file:
path: "/tmp/{{ sentinelone_filename | basename }}"
state: absent

- name: Set Group/Site token
ansible.builtin.command: "/opt/sentinelone/bin/sentinelctl management token set {{ sentinelone_token }}"
args:
Expand Down

0 comments on commit ccf4e98

Please sign in to comment.