1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
--- - name: Install root ssh keys authorized_key: user: root key: "{{ item }}" with_file: - misc_main.pub - misc_backup.pub - quaid.pub - duck.pub - name: Remove old root keys authorized_key: user: root key: "{{ item }}" state: absent with_file: - misc_nano_old.pub - misc_tpm_old.pub