Make the existing playbooks pass the new checks

Strip trailing whitespace and blank lines, name the getent tasks, and fix Jinja spacing.
This commit is contained in:
tanshu committed 2026-10-18 21:35:49 +05:30
1 parent 0df4054cc2
commit 4ddeba5402
21 files changed
+21 -25

No files matched your search

+2 -2
View File
@@ -1,6 +1,7 @@
---
# Tasks for Mosquitto role
- getent:
- name: Look up the Mosquitto user
getent:
database: passwd
key: "{{ mosquitto_user }}"
split: ":"
@@ -79,4 +80,3 @@
- name: Encrypt the docker file
command: docker exec -i mosquitto mosquitto_passwd -U /mosquitto/config/passwd