瀏覽代碼

working on changes, and debugging

master
Erin Sims 2 年之前
父節點
當前提交
e57f4be2b5
共有 2 個檔案被更改,包括 4 行新增2 行删除
  1. +1
    -1
      playbooks/mpdf.conf.j2
  2. +3
    -1
      playbooks/mpdf.yaml

+ 1
- 1
playbooks/mpdf.conf.j2 查看文件

@@ -17,7 +17,7 @@ music_directory "nfs://example.com/path/to/your/music/"
database {
plugin "proxy"
host {{ hostvars[backendhost]['ansible_facts']['eth1']['ipv4']['address'] }}
host "142.93.181.29"
# host "142.93.181.29"
port "8888"
password "password"
keepalive "yes"


+ 3
- 1
playbooks/mpdf.yaml 查看文件

@@ -36,9 +36,11 @@
volume_normalization: no
audio_buffer_size: 2048
buffer_before_play: "1%"
backendhost: "{{ inventory_hostname |replace ("f", "b") }}"
tasks:
- name: "mpd backendhost"
set_fact:
backendhost: "{{ inventory_hostname |replace ("f", "b") }}"
- name: Install mpdf on hosts
apt:
name: mpd


Loading…
取消
儲存