Skip to content

Commit

Permalink
Remove unattended-upgrades package from Ubuntu.
Browse files Browse the repository at this point in the history
  • Loading branch information
trippsc2 committed Jun 30, 2024
1 parent 8fad5db commit c347ad2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion galaxy.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
namespace: trippsc2
name: first_steps
version: 1.0.1
version: 1.0.2
readme: README.md
authors:
- Jim Tarpley
Expand Down
7 changes: 7 additions & 0 deletions roles/ubuntu/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@
that:
- ansible_distribution == "Ubuntu"

- name: Remove unattended upgrades package
become: true
ansible.builtin.apt:
name:
- unattended-upgrades
state: absent

- name: Disable hibernation
loop:
- sleep.target
Expand Down

0 comments on commit c347ad2

Please sign in to comment.