sdfg
Some checks failed
ansible-lint / gitleaks (pull_request) Successful in 3s
ansible-lint / Ansible Lint (pull_request) Failing after 31s

This commit is contained in:
Michael Grote 2024-10-29 14:45:02 +01:00
parent 811b3991cc
commit 2b3542dc42

View file

@ -1,12 +1,12 @@
---
- name: template ssh public key
become: true
ansible.posix.authorized_key:
user: "{{ sanoid_user }}"
#- name: template ssh public key
# become: true
# ansible.posix.authorized_key: # TODO händisch loschen
# user: "{{ sanoid_user }}"
#key: "{{ sanoid_syncoid_ssh_pubkey }}"
state: absent
when:
- sanoid_syncoid_source_host
# state: absent
# when:
# - sanoid_syncoid_source_host
- name: Ensure user is added to sudoers
become: true