Create role to setup ubuntu server
This commit is contained in:
11
roles/ubuntu/handlers/main.yml
Normal file
11
roles/ubuntu/handlers/main.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
#SPDX-License-Identifier: BSD-3-Clause
|
||||
---
|
||||
|
||||
- name: Reboot Server
|
||||
ansible.builtin.reboot:
|
||||
|
||||
- name: Clean apt cache
|
||||
ansible.builtin.apt:
|
||||
autoclean: true
|
||||
autoremove: true
|
||||
purge: true
|
Reference in New Issue
Block a user