freephile / meza

Setup an enterprise MediaWiki server with simple commands
MIT License
0 stars 0 forks source link

Replace memcached role with Geerlingguy memcached role #18

Open freephile opened 5 months ago

freephile commented 5 months ago

Meza has a basic, yet convoluted role and setup for Memcached. Replace at least the (Memcached server) role with the Geerlingguy memcached role that it is based on. The latter is much better.

Meanwhile, the PHP aspects of Memcached configuration will need to be handled separately. Those are naturally a combination of the PHP role*, and the MediaWiki role.

*The "PHP role" should also be replaced. Currently the role is named "Apache/PHP", and does too much, as the name would imply.

freephile commented 4 months ago

The current PECL install is failing:

TASK [apache-php : Install memcached PECL packages] **** fatal: [localhost]: FAILED! => { "changed": true, "cmd": "printf 'no\nno\nno\nno\nno\nno\nno\nyes\nyes\n' | pecl install memcached\n", "delta": "0:00:00.097980", "end": "2024-03-07 20:53:58.391206", "rc": 1, "start": "2024-03-07 20:53:58.293226" }

STDOUT:

pecl/memcached is already installed and is the same as the released version 3.2.0 install failed

MSG:

non-zero return code ...ignoring