diff options
| author | Maximilian Möhring | 2024-09-19 10:09:37 +0200 |
|---|---|---|
| committer | Maximilian Möhring | 2024-09-19 10:09:37 +0200 |
| commit | 3cb036326c632875d2417004d4d5f070eb620da9 (patch) | |
| tree | a441755f89641ce65c08e74b8dbb4a9484155b27 /roles/nodejs/tasks/main.yml | |
| parent | 963e76aa55e4c5aec79d43dd6784c3aaf722d8bf (diff) | |
| download | ansible-3cb036326c632875d2417004d4d5f070eb620da9.tar.gz | |
add role nodejs
Diffstat (limited to 'roles/nodejs/tasks/main.yml')
| -rw-r--r-- | roles/nodejs/tasks/main.yml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/roles/nodejs/tasks/main.yml b/roles/nodejs/tasks/main.yml new file mode 100644 index 0000000..4a757a3 --- /dev/null +++ b/roles/nodejs/tasks/main.yml @@ -0,0 +1,10 @@ +- name: uninstall nodejs packages + apt: + name: '{{ nodejs_absent }}' + state: absent + purge: yes + +- name: install nodejs packages + apt: + name: '{{ nodejs_present }}' + install_recommends: 'no' |
