Skip to content

Commit

Permalink
Add a common group to make sure all packages are up to date
Browse files Browse the repository at this point in the history
Signed-off-by: GitHub <[email protected]>
  • Loading branch information
shenanigansd authored Apr 20, 2024
1 parent f57f5d0 commit 712b861
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ansible/playbook.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
- name: Deploy common services
hosts: all
roles: [docker]
roles: [common,docker]
6 changes: 6 additions & 0 deletions ansible/roles/common/tasks/main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
- name: Update all packages to their latest version
ansible.builtin.apt:
name: "*"
state: latest
update_cache: yes

0 comments on commit 712b861

Please sign in to comment.