1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
--- - name: Install root ssh keys authorized_key: user: root key: "{{ item }}" with_file: - misc.pub - quaid.pub - duck.pub - name: Remove old root keys authorized_key: user: root key: "{{ item }}" with_file: - misc_old.pub