infra/ansible/roles/debug/tasks/main.yml
Graham McIntire ee72c64246
fix: resolve best practice and lint violations
- Convert ~290 short module names to FQCNs across all roles
- Change become: yes/no to become: true/false, gather_facts: no to false
- Remove deprecated inject_facts_as_vars from ansible.cfg
- Add missing task names to import_tasks/include_role calls
- Add become: yes to librenms clone task (partial-become fix)
- Add pipefail to risky shell command in udp-gro-fix.yml
- Quote all octal mode values
- Harden .ansible-lint with production profile and empty skip_list
- Update findings.md with all fixes
2026-06-04 14:34:23 -05:00

12 lines
357 B
YAML

- name: create /tmp/ansible-debug
ansible.builtin.file:
path: /tmp/ansible-debug
state: directory
- name: collect vars
ansible.builtin.template:
src: templates/data.j2
dest: "/tmp/ansible-debug/{{ item.key }}.json"
vars:
data: "{{ item.value }}"
loop: "{{ {'hostvars': hostvars, 'groups': groups, 'vars': vars} | dict2items }}"