Fix authorized_key FQCN and add ansible.posix to CI collections
Ansible Lint / lint (push) Successful in 12s

ansible.posix.authorized_key replaces the bare module name removed
in ansible-core 2.x.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Adyrem
2026-05-13 18:00:11 +02:00
parent 30c65c7eea
commit 00d00f797e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -11,7 +11,7 @@
validate: visudo -cf %s
- name: Ensure admin SSH key is authorized
authorized_key:
ansible.posix.authorized_key:
user: "{{ admin_user }}"
key: "{{ admin_ssh_key }}"
state: present