Commit graph

19 commits

Author SHA1 Message Date
Mathieu Trossevin 23a486dc9a
[LXC] Force lxc containers to be in the correct timezone
Right now lxc containers are in the Etc/UTC timezone, this commit change
it so that they are in the same timezone as the host by copying
/etc/timezone and /etc/localtime (without dereferencing it) inside of
the container.

It might not be able to survive an update of the tzdata package however.
(Debian shouldn't change manual configuration upon update but they chose
to anyways so bear with it).
2020-07-27 11:53:03 +02:00
Jérémy Lecour 7a3e6cf61a lxc: install apparmor on Debian 10 2020-04-17 15:57:22 +02:00
Jérémy Lecour 968973d1f4 whitespaces and syntax 2020-04-17 15:56:54 +02:00
Ludovic Poujol 93c043c8e0 (fix) lxc: Fix container existance check to be able to run in check_mode 2020-04-08 17:57:46 +02:00
Ludovic Poujol 8ef94a9798 lxc: Allow this role to be called multiple times 2020-04-01 17:17:00 +02:00
Ludovic Poujol 9b80db3772 lxc: Don't stop the container if it already exists 2020-04-01 17:17:00 +02:00
Jérémy Lecour 7283e34077 Replace version_compare() with version() 2020-02-25 10:45:35 +01:00
Jérémy Lecour 79bb6103b8 Change "|version_compare" with "is version_compare" 2019-12-31 10:18:19 +01:00
Jérémy Lecour 16c44ab867 lxc : add name of container in task names 2019-10-21 15:26:03 +02:00
Ludovic Poujol 4aaeb4590b lxc: rely on lxc_container module instead of command module 2019-10-02 16:32:20 +02:00
Ludovic Poujol a5378c783e lxc: update our default template to be compatible with Debian 10 2019-10-01 17:54:13 +02:00
Ludovic Poujol ae97276e13 lxc: remove useless loop in apt execution 2019-10-01 17:54:13 +02:00
Jérémy Lecour 1e28210834 whitespaces and syntax 2019-06-21 10:36:32 +02:00
Tristan PILAT b2e079101e Add xz-utils and debootstrap to lxc task 2019-06-17 12:17:46 +02:00
Tristan PILAT b6e6839419 Update lxc-create command in create-container.yml 2019-06-17 12:17:46 +02:00
Tristan PILAT 531dc80207 We want /home mounted inside the container by default 2019-04-09 19:53:26 +02:00
Romain Dessort 8ed1aaf160 Fix multiple bugs in lxc role after testing 2017-08-24 12:09:41 -04:00
Romain Dessort 5ba32d4c5f Add README to lxc role 2017-08-22 12:58:13 -04:00
Romain Dessort 39bc3d27fb Add role for LXC 2017-08-22 11:32:32 -04:00