Commit graph

9 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 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 9b80db3772 lxc: Don't stop the container if it already exists 2020-04-01 17:17:00 +02: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
Tristan PILAT b6e6839419 Update lxc-create command in create-container.yml 2019-06-17 12:17:46 +02:00
Romain Dessort 8ed1aaf160 Fix multiple bugs in lxc role after testing 2017-08-24 12:09:41 -04:00
Romain Dessort 39bc3d27fb Add role for LXC 2017-08-22 11:32:32 -04:00