fix: Update sr_fingerprint task calls to use new structured parameters

The sr_fingerprint module was rewritten to accept structured parameters
(status, role_name, role_path, etc.) instead of a free-form sr_message.
Update the role tasks and tests to match the new module interface.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Sergei Petrosian
2026-08-06 16:11:09 -06:00
committed by Richard Megginson
co-authored by Claude Opus 4.6
parent d9ba105ef3
commit 83471be571
4 changed files with 52 additions and 12 deletions
+7 -3
View File
@@ -7,9 +7,13 @@
- name: Record role begin fingerprint
sr_fingerprint:
sr_message: >-
begin system_role:aide ansible_version={{ ansible_version.full }}
{{ ansible_facts['distribution'] }}-{{ ansible_facts['distribution_version'] }}
status: begin
role_name: aide
role_path: "{{ role_path }}"
ansible_play_hosts_all: "{{ ansible_play_hosts_all }}"
distribution: "{{ ansible_facts['distribution'] }}"
distribution_version: "{{ ansible_facts['distribution_version'] }}"
write_log_file: "{{ __aide_write_log_file }}"
- name: Determine if system is ostree and set flag
when: not __aide_is_ostree is defined