--- # defaults file for ssh ssh_users: - name: USER state: present keys: - key: "PUBLIC KEY 1" - key: "PUBLIC KEY 2" - key: "PUBLIC KEY n" # If set to true, the loop overwrites existing keys in authorized_keys # and overwrites the keys from "keys" one after the other # only the last key in the list is retained exclusive: false