fix(pihole): address review findings
Remove the pihole_force_install input, which had no effect, and the dead term of the install condition. Tag the merge and the configuration directory check always, so --skip-tags config-only no longer skips facts that later tasks read. Skip the installer log under --check, where the installer did not run. Read the env and user_id facts through ansible_facts, drop a redundant default, state the real reasons two defaults stay out of the argument spec, and bring the README to the fixed heading set. Assisted-by: Claude Code:claude-opus-5-5
This commit is contained in:
1 parent
9979dfa8ed
commit
d84fb4a2f4
7 files changed
+33
-38
No files matched your search
@@ -2,7 +2,7 @@
|
||||
# Input checks. Imported first in main.yml with tags: always, so a bad input fails before any
|
||||
# change. pihole_web_password is required by the argument spec, which runs before this file.
|
||||
|
||||
# The role also reads gathered facts (ansible_env.HOME, ansible_user_id), so a run without
|
||||
# The role also reads gathered facts (env.HOME, user_id), so a run without
|
||||
# them fails here too.
|
||||
- name: Require Ubuntu
|
||||
ansible.builtin.assert:
|
||||
|
||||
Reference in new issue
Block a user