lxc: Don't stop the container if it already exists

This commit is contained in:
Ludovic Poujol 2019-11-14 15:44:40 +01:00
parent d9517e8033
commit 9b80db3772
2 changed files with 2 additions and 0 deletions

View file

@ -90,6 +90,7 @@ The **patch** part changes incrementally at each release.
### Fixed
* etc-git: fix warnings ansible-lint
* evoadmin-web: Put the php config at the right place for Buster
* lxc: Don't stop the container if it already exists
* lxc-php: Don't remove the default pool
* minifirewall: fix warnings ansible-lint
* nginx: fix munin fcgi not working (missing chmod 660 on logs)

View file

@ -11,6 +11,7 @@
template: debian
state: stopped
template_options: "--arch amd64 --release {{release}}"
when: container_exists.stdout_lines == []
- name: "Disable network configuration inside container {{ name }}"
replace: