Add roles and variables
This commit is contained in:
7
ansible/roles/common/tasks/main.yml
Normal file
7
ansible/roles/common/tasks/main.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
- name: Check memory and swap usage
|
||||
command: free -m
|
||||
register: memory_info
|
||||
changed_when: false
|
||||
- name: Run the equivalent of "apt-get update" as a separate step
|
||||
ansible.builtin.apt:
|
||||
update_cache: yes
|
||||
Reference in New Issue
Block a user