@@ -42,7 +42,8 @@ | |||||
- name: Install mpdb on hosts | - name: Install mpdb on hosts | ||||
apt: | apt: | ||||
name: mpd | name: mpd | ||||
state: present | |||||
state: latest | |||||
update_cache: yes | |||||
- name: setup config on hosts | - name: setup config on hosts | ||||
template: | template: | ||||
src: mpdb.conf.j2 | src: mpdb.conf.j2 | ||||
@@ -48,12 +48,9 @@ | |||||
- name: Install mpdf on hosts | - name: Install mpdf on hosts | ||||
apt: | apt: | ||||
name: mpd | name: mpd | ||||
state: present | |||||
- name: Install sshfs on hosts | |||||
apt: | |||||
name: sshfs | |||||
state: present | |||||
- name: setup config on hosts | |||||
state: latest | |||||
update_cache: yes | |||||
- name: setup config on hosts | |||||
template: | template: | ||||
src: mpdf.conf.j2 | src: mpdf.conf.j2 | ||||
dest: "/etc/mpdf{{ item }}.conf" | dest: "/etc/mpdf{{ item }}.conf" | ||||