Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 39b6c1de1e | |||
|
c28d7706a3 |
3 changed files with 6 additions and 2 deletions
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
services:
|
services:
|
||||||
db:
|
db:
|
||||||
image: mariadb:12.3.3
|
image: mariadb:13.0.2
|
||||||
command: --max_allowed_packet=3250585600
|
command: --max_allowed_packet=3250585600
|
||||||
environment:
|
environment:
|
||||||
MYSQL_ROOT_PASSWORD: "{{ secret__sunders_db_root_password }}"
|
MYSQL_ROOT_PASSWORD: "{{ secret__sunders_db_root_password }}"
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
# Role `apt_update_and_upgrade`
|
# Role `apt_update_and_upgrade`
|
||||||
|
|
||||||
This role does an `apt-get update`, `apt-get dist-upgrade` and a potential reboot (if packages got upgraded) on the specified hosts.
|
This role does an `apt-get update`, `apt-get dist-upgrade`, `apt-get autoremove` and a potential reboot (if packages got upgraded) on the specified hosts.
|
||||||
|
|
||||||
## `hosts`
|
## `hosts`
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,3 +11,7 @@
|
||||||
register: apt_update_and_upgrade__upgrade_result
|
register: apt_update_and_upgrade__upgrade_result
|
||||||
notify:
|
notify:
|
||||||
- reboot the system
|
- reboot the system
|
||||||
|
|
||||||
|
- name: Remove dependencies that are no longer required
|
||||||
|
ansible.builtin.apt:
|
||||||
|
autoremove: true
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue