Explorar el Código

working that jinja magic

master
Erin Sims hace 2 años
padre
commit
85a7d1abfc
Se han modificado 5 ficheros con 11 adiciones y 6 borrados
  1. +1
    -1
      playbooks/create_droplet.yml
  2. +1
    -1
      playbooks/delete_droplet.yml
  3. +1
    -1
      playbooks/mpdb.yaml
  4. +5
    -1
      playbooks/mpdf.conf.j2
  5. +3
    -2
      playbooks/mpdf.yaml

+ 1
- 1
playbooks/create_droplet.yml Ver fichero

@@ -1,7 +1,7 @@
---
- hosts: localhost
connection: local
gather_facts: false
gather_facts: true
vars:
mpdf:
- 'nyc3-mpdf'


+ 1
- 1
playbooks/delete_droplet.yml Ver fichero

@@ -1,7 +1,7 @@
---
- hosts: localhost
connection: local
gather_facts: false
gather_facts: true
vars:
mpdf:
- 'nyc3-mpdf'


+ 1
- 1
playbooks/mpdb.yaml Ver fichero

@@ -1,5 +1,5 @@
- hosts: all
gather_facts: false
gather_facts: true
vars:
tasks:
- name: Install mpdb on hosts


+ 5
- 1
playbooks/mpdf.conf.j2 Ver fichero

@@ -10,9 +10,13 @@
# be disabled and audio files will only be accepted over ipc socket (using
# file:// protocol) or streaming files over an accepted protocol.
#
#######need to fix this one too
music_directory "nfs://example.com/path/to/your/music/"

"
database {
plugin "proxy"
plugin "proxy"
host {{ hostvars[backendhost]['ansible_facts']['eth1']['ipv4']['address'] }}
host "142.93.181.29"
port "8888"
password "password"


+ 3
- 2
playbooks/mpdf.yaml Ver fichero

@@ -1,5 +1,5 @@
- hosts: all
gather_facts: false
gather_facts: true
vars:
#we need to loop over the /var/lib/mpd{{ count }} directory for the files/folders below. we need to loop over the stream ports as well
count: 5
@@ -36,7 +36,8 @@
volume_normalization: no
audio_buffer_size: 2048
buffer_before_play: "1%"
backendhost: "{{ inventory_hostname |replace("f","b") }}"
tasks:
- name: Install mpdf on hosts
apt:


Cargando…
Cancelar
Guardar