ansible-roles/lxc
David Prevot 69bc93ff6e
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2643|6|2637|4|:-1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/406//ansiblelint">Evolix » ansible-roles » unstable #406</a> Details
gitea/ansible-roles/pipeline/head This commit looks good Details
lxc: Init /etc git repository in lxc container
Note: ugly loop, but “it works”…
2023-11-24 11:54:13 +01:00
..
defaults * lxc-solr : add comments 2022-09-26 23:48:05 +02:00
meta Update Galaxy metadata (company, platforms and galaxy_tags) 2021-06-28 15:26:28 +02:00
tasks lxc: Init /etc git repository in lxc container 2023-11-24 11:54:13 +01:00
templates Ajoute le déconfinement d'AppArmor dans la config par défaut des conteneurs LXC pour les version de Debian >= 9. 2022-03-15 10:07:09 +01:00
README.md Fix multiple bugs in lxc role after testing 2017-08-24 12:09:41 -04:00

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