Playbooks to a new Lilik
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
646 B

  1. ---
  2. - hosts: 'matrix'
  3. gather_facts: false
  4. tags:
  5. - 'lxc'
  6. tasks:
  7. - import_role: name='lxc_guest'
  8. vars:
  9. vm_name: '{{ inventory_hostname }}'
  10. vm_size: '2G'
  11. vg_name: '{{ hostvars[ansible_lxc_host]["vg_name"] }}'
  12. delegate_to: '{{ ansible_lxc_host }}'
  13. - set_fact: ansible_connection='ssh_lxc'
  14. - setup:
  15. - import_role: name='ssh_server'
  16. - set_fact: ansible_connection='ssh'
  17. - hosts: 'matrix'
  18. roles:
  19. - role: 'dns_record'
  20. - role: 'reverse_proxy'
  21. - role: 'coturn'
  22. - role: 'matrix-synapse'
  23. # - role: 'riot-web'
  24. - hosts: 'status'
  25. roles:
  26. - role: 'icinga2-monitoring'