base-jobs/roles/remove-build-sshkey-fork/tasks/main.yaml

6 lines
179 B
YAML

- name: Remove the build SSH key from all nodes
authorized_key:
user: "{{ ansible_ssh_user }}"
key: "{{ lookup('file', zuul_temp_ssh_key + '.pub') }}"
state: absent