diff --git a/playbooks/mpdf.yaml b/playbooks/mpdf.yaml index c054ba3..26c6dd1 100644 --- a/playbooks/mpdf.yaml +++ b/playbooks/mpdf.yaml @@ -130,8 +130,9 @@ handlers: - name: Restart MPD ansible.builtin.service: - name: mpd + name: "mpdf{{ item }}" state: restarted + loop: "{{ range(1,mpdcount|int + 1) }}" - name: sshfs ansible.builtin.import_playbook: sshfs.yaml