Skip to content
Snippets Groups Projects
Commit 7830a162 authored by nimrod's avatar nimrod
Browse files

Debian server role: Some small fixes.

- Apply tagging to all included tasks.
- Restart the Docker service after updating the container restart
  drop-in, in case there are containers in need of a restart.
- Reload Systemd after updating the btrfs scrub and check units, simple
  omission.
parent 56201092
No related branches found
No related tags found
No related merge requests found
......@@ -30,6 +30,8 @@
{{ (ansible_facts.mounts|selectattr("device", "equalto", device)|first)["mount"] }}
# yamllint enable rule:line-length
tags: [scrub]
notify:
- Systemd daemon reload
- name: Enable btrfs scrub timers
ansible.builtin.systemd:
......@@ -46,6 +48,8 @@
mode: 0o0644
src: btrfs_check.{{ item }}.j2
vars: *vars
notify:
- Systemd daemon reload
- name: Enable the btrfs check timers
ansible.builtin.systemd:
......
......@@ -37,6 +37,7 @@
mode: 0o0644
notify:
- Systemd daemon reload
- Restart Docker
- name: Allow access from the toolbox container
ansible.builtin.copy:
......
......@@ -100,12 +100,18 @@
- name: Include Docker tasks
ansible.builtin.include_tasks:
file: docker.yml
apply:
tags:
- docker
tags:
- always
- name: Include web tasks
ansible.builtin.include_tasks:
file: web.yml
apply:
tags:
- web
tags:
- always
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment