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.

25 lines
598 B

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