ansible/roles/bastion-student-user/tasks/main.yml | ●●●●● patch | view | raw | blame | history |
ansible/roles/bastion-student-user/tasks/main.yml
@@ -38,6 +38,12 @@ regexp: '^ *PasswordAuthentication' path: /etc/ssh/sshd_config - name: Populate authorized_key authorized_key: user: "{{ student_name }}" key: "{{ student_key }}" when: student_key is defined - name: Allow passwordless sudo lineinfile: path: '/etc/sudoers'