Skip to content
Snippets Groups Projects
Unverified Commit b72cc1f0 authored by Nico's avatar Nico
Browse files

common: also mask some services in VMs

parent b33e78dd
No related branches found
No related tags found
No related merge requests found
...@@ -5,9 +5,16 @@ ...@@ -5,9 +5,16 @@
masked: true masked: true
when: "ansible_virtualization_type == 'lxc' and ansible_virtualization_role == 'guest'" when: "ansible_virtualization_type == 'lxc' and ansible_virtualization_role == 'guest'"
with_items: with_items:
- nvmf-autoconnect
- systemd-journald-audit.socket - systemd-journald-audit.socket
- systemd-modules-load.service - systemd-modules-load.service
- zfs-mount.service - zfs-mount.service
- zfs-share.service - zfs-share.service
- name: Mask unneeded systemd services in virtualization guests (either VM or container)
systemd_service:
name: '{{ item }}'
masked: true
when: "ansible_virtualization_role == 'guest'"
with_items:
- nvmf-autoconnect
- openipmi.service - openipmi.service
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment