From 781b7066c7286d473ad00db8e558c2f8ce26c9db Mon Sep 17 00:00:00 2001 From: Erin Sims Date: Sat, 1 Oct 2022 07:01:43 -0400 Subject: [PATCH] working on changes, and debugging --- playbooks/mpdf.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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