Skip to content
Snippets Groups Projects
Commit 80b01f52 authored by Lars Beckers's avatar Lars Beckers
Browse files

php-fpm: fix pool service de/activation

parent 2dbf5ea1
No related branches found
No related tags found
No related merge requests found
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
# yamllint disable rule:line-length # yamllint disable rule:line-length
shell: | shell: |
set -o pipefail set -o pipefail
systemctl list-units --state=loaded | grep uwsgi@ | sed -E 's/.*uwsgi@(.*)\\.service.*/\\1/' systemctl list-units --state=loaded | grep php-fpm@ | grep -v .socket | sed -E 's/.*php-fpm@(.*)\.service.*/\1/'
args: args:
executable: /bin/bash executable: /bin/bash
# yamllint enable rule:line-length # yamllint enable rule:line-length
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
enabled: false enabled: false
state: stopped state: stopped
# yamllint disable-line rule:line-length # yamllint disable-line rule:line-length
with_items: "{{ running_pools.stdout_lines|difference(fpm_pools|map(attribute=name))|list }}" with_items: "{{ running_pools.stdout_lines|difference(fpm_pools|map(attribute='name')|list) }}"
- meta: flush_handlers - meta: flush_handlers
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment