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

common: disable useless some services in containers

parent 5aba48f5
No related branches found
No related tags found
No related merge requests found
---
- hosts: all
roles:
- common
- users
- autoupdate
- ssh
......
---
- name: Mask unneeded systemd services in containers
systemd_service:
name: '{{ item }}'
masked: true
when: "ansible_virtualization_type == 'lxc' and ansible_virtualization_role == 'guest'"
with_items:
- nvmf-autoconnect
- systemd-journald-audit.socket
- systemd-modules-load.service
- zfs-mount.service
- zfs-share.service
- openipmi.service
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment