Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
SequeI committed Dec 2, 2024
1 parent 96e5484 commit 52c26d3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions molecule/testing_user_setup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@
mode: "0700"
owner: "{{ item.user }}"

- name: Configure SSH access for new user
ansible.builtin.copy:
src: "{{ molecule_ephemeral_directory }}/id_rsa.pub"
dest: "/home/{{ item.user }}/.ssh/authorized_keys"
mode: "0600"
owner: "{{ item.user }}"
#- name: Configure SSH access for new user
#ansible.builtin.copy:
#src: "{{ molecule_ephemeral_directory }}/id_rsa.pub"
#dest: "/home/{{ item.user }}/.ssh/authorized_keys"
#mode: "0600"
#owner: "{{ item.user }}"

- name: Edit SSH config to disallow root login
ansible.builtin.lineinfile:
Expand Down

0 comments on commit 52c26d3

Please sign in to comment.