ansible_public/playbooks/AddDanielPublicSshKeyToLabAuthorizedKeys.yaml
2022-06-14 18:53:16 +02:00

11 lines
791 B
YAML

---
- hosts: "{{ variable_host | default(lab15_standard) }}"
gather_facts: no
become: yes
tasks:
- name: Add Daniel ssh ublic key to lab
become: no
shell: echo "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDWH1G5Pavz/0oONeYQ/C7TGQ5lHNOPSeVEyhGE+N1jkwU54OFIVBQLCa6xR1cYXCKsXAx4mxoPUANl1ko7vsmRoatGEd7t7nIHoTzviLOH77Wt8FvgvIJ4x683ix3XMDlHfQ1r344fo3yzaINkIwz5wAhKo5cQfiNsmMmp1PCc2QW8Cv1RNVOJMkN8qFi3MAsX5NVzLBhOXS8wwObDR4ss6+HNOWUDazeNeOaOlc5gJFw7PuWlS/WiA0uqQ1Ze3lLkhDfRqvkFZfJI/kGSDuSCbS3R97iT6GF2i6XMQlEQmEhy2Zza8GD+dn9XhfBOvxeQ6pP5Bp0RbwhuG3RNNEcQZ2ssx4n0Cf/ecAgROblGgPdaIVGvzIqp8tAfZLPJlg6D5ec7+jRbKmvwl9ljAFl3aj/Lfxc6L1nIs0z8bxojLkytUKoYuYMV2rbNK+tCo1JODfvvT67qYlBMdpQXimcdkz3BfTH8zkLzIO5tdSCGzjiXByCjKGrmLhR1qFyB7+8= daniel.sadowski@pwr.edu.pl" >> .ssh/authorized_keys