Skip to content

Commit 5db229d

Browse files
swalkinshawclaude
andcommitted
Remove unsupported use param from nginx service task
The `use` directive was consumed by the `service` action plugin to force the generic SysV `service` backend instead of auto-detecting systemd. Newer ansible-core (2.20+) no longer handles it in the action plugin, so it gets passed through to the underlying module and fails: Unsupported parameters for (ansible.legacy.service) module: use Dropping it lets the service module auto-detect the init system, which is systemd on Trellis's supported Ubuntu targets. Fixes #1668 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent c1f395a commit 5db229d

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

roles/nginx/tasks/main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,3 @@
6060
name: nginx
6161
enabled: yes
6262
state: started
63-
use: service

0 commit comments

Comments
 (0)