1 2 3 4 5 6 7
--- - name: update authorized_keys authorized_key: key: '{{ item }}' path: /root/.ssh/authorized_keys user: root with_items: '{{ authorized_keys }}'