lxc-php: Do not bind the mysql socket by default #122

Manually merged
mtrossevin merged 1 commit from mtrossevin/ansible-roles:packweb-multi-php2_patch into unstable 2021-01-11 15:27:37 +01:00

1 commit

Author SHA1 Message Date
Mathieu Trossevin 2e29dc2440 lxc-php: Do not bind the mysql socket by default
Some checks failed
continuous-integration/drone/pr Build is failing
The lxc-php role can be run on a server without mysql. Attempting to
bindmount the mysql socket in such a case cause the lxc container to
fail to start.

This commit add a variable, lxc_php_create_mysql_link defaulting to
false telling ansible if it should bindmount the MySQL socket to the
container.
2021-01-11 15:20:25 +01:00