Workout the nvm install role
Signed-off-by: Noah Knegt <git@noahknegt.com>
This commit is contained in:
22
roles/nvm/tasks/cleanup.yml
Normal file
22
roles/nvm/tasks/cleanup.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
# ===================================================================================================
|
||||
# ? ABOUT
|
||||
# @author : Noah Knegt
|
||||
# @email : personal@noahknegt.com
|
||||
# @repo : https://git.noahknegt.com/noah.knegt/ansible-automations
|
||||
# @createdOn : 06-04-2023
|
||||
# @description : This will cleanup the system.
|
||||
# ===================================================================================================
|
||||
|
||||
---
|
||||
- name: Cleanup
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: absent
|
||||
with_items:
|
||||
- /tmp/nvm-install.sh
|
||||
- /tmp/nvm-install.log
|
||||
- /tmp/nvm-install.out
|
||||
- /tmp/nvm-install.err
|
||||
- /tmp/nvm-install.debug
|
||||
- /tmp/nvm-install.info
|
||||
- /tmp/nvm-install.warn
|
Reference in New Issue
Block a user