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.

36 lines
863 B

  1. .. highlight:: yaml
  2. lxc_guest
  3. =========
  4. This role provides the building blocks to create a virtual machine using lxc containers on a phisical server
  5. Usage
  6. -----
  7. .. code-block:: yaml
  8. - hosts: phisical_host
  9. roles:
  10. - role: lxc_guest
  11. vm_name: virtual_machine_name
  12. Additional parameter can be specified, the defaults are documented into the `lxc_guest` default folder
  13. .. code-block:: yaml
  14. - hosts: phisical_host
  15. roles:
  16. - role: lxc_guest
  17. vm_name: virtual_machine_name
  18. auto_start: true
  19. container_state: started
  20. distro: jessie
  21. vm_size: 5G
  22. During the role execution there are multiple phases
  23. - Create the container and assign the configuration
  24. - Update the container dns configuration
  25. - Update the container network configuration
  26. - Install python and openssh-server