Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 8b921cb66a | |||
|
c28d7706a3 |
3 changed files with 6 additions and 2 deletions
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
services:
|
services:
|
||||||
database:
|
database:
|
||||||
image: docker.io/library/mariadb:11
|
image: docker.io/library/mariadb:13
|
||||||
environment:
|
environment:
|
||||||
- "MARIADB_DATABASE=wordpress"
|
- "MARIADB_DATABASE=wordpress"
|
||||||
- "MARIADB_ROOT_PASSWORD={{ secret__mariadb_root_password }}"
|
- "MARIADB_ROOT_PASSWORD={{ secret__mariadb_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