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.
ansible-roles/lxc
Jérémy Lecour 1728eaee68
gitea/ansible-roles/pipeline/head This commit looks good Details
Revert "Add “when: not ansible_check_mode” to allow more --check"
2 months ago
..
defaults * lxc-solr : add comments 4 months ago
meta Update Galaxy metadata (company, platforms and galaxy_tags) 2 years ago
tasks Revert "Add “when: not ansible_check_mode” to allow more --check" 2 months ago
templates Ajoute le déconfinement d'AppArmor dans la config par défaut des conteneurs LXC pour les version de Debian >= 9. 11 months ago
README.md Fix multiple bugs in lxc role after testing 6 years ago

README.md

lxc

Install and configure lxc and create containers.

Tasks

Everything is in the tasks/main.yml file.

Available variables

Here is the list of available variables:

  • lxc_unprivilegied_containers: should LXC containers run in unprivilegied (non root) mode? Currently lxc_unprivilegied_containers: true does not work. Default: false
  • lxc_network_type: network type to use. See lxc.container.conf(5). Default: "none"
  • lxc_mount_part: partition to bind mount into containers. Default: "/home"
  • lxc_containers: list of LXC containers to create. Default: [] (empty). Eg.:
    lxc_containers:
      - name: php56
        release: jessie
      - name: php70
        release: stretch