Changeset - b32e4e0e89fe
[Not reviewed]
0 1 0
x - 20 months ago 2023-08-24 01:55:34
xbr@c3l.lu
feat: change root shell to bash
1 file changed with 6 insertions and 1 deletions:
0 comments (0 inline, 0 general)
initial_server_setup/initial_setup.yml
Show inline comments
 
@@ -115,6 +115,11 @@
 
        state: present
 
      loop: "{{ users_system }}"
 
      tags: users
 
    - name: Change shell for root to bash
 
      ansible.builtin.user:
 
        name: "root"
 
        shell: /bin/bash
 
      tags: users
 

	
 
    - name: Add SSH key for users from vars
 
      ansible.posix.authorized_key:
 
@@ -135,4 +140,4 @@
 
      ansible.builtin.service:
 
        name: "sshd"
 
        state: "reloaded"
 
      tags: network,ssh
 
\ No newline at end of file
 
      tags: network,ssh
0 comments (0 inline, 0 general)