You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
bs-units/update-hosts@.service

10 lines
214 B

[Unit]
Description=Update /etc/hosts from %I
[Service]
Type=simple
Nice=19
IOSchedulingClass=2
IOSchedulingPriority=7
ExecStart=/usr/bin/ansible -i %I, -b -m fetch -a "src=/etc/hosts dest=/etc/hosts flat=yes" all