refactor: clean up directories and start standardized role names
This commit is contained in:
parent
e2ef196a62
commit
2ae759025c
25 changed files with 160 additions and 0 deletions
17
roles/any.common.enable-testing/tasks/main.yml
Normal file
17
roles/any.common.enable-testing/tasks/main.yml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
---
|
||||
- ansible.builtin.copy:
|
||||
src: 'sources.list'
|
||||
dest: '/etc/apt/sources.list'
|
||||
owner: 'root'
|
||||
group: 'root'
|
||||
mode: '0644'
|
||||
|
||||
- name: Upgrade all packages to the latest version in testing
|
||||
ansible.builtin.apt:
|
||||
upgrade: dist
|
||||
update_cache: yes
|
||||
cache_valid_time: 3600
|
||||
|
||||
- name: Clean up unused packages
|
||||
ansible.builtin.apt:
|
||||
autoremove: yes
|
||||
Loading…
Add table
Add a link
Reference in a new issue