Fix SSH config;Housekeeping
This commit is contained in:
parent
82b8eeca4f
commit
b6656c3d9c
@ -16,8 +16,8 @@
|
||||
line: "{{ item.line }}"
|
||||
state: "{{ item.state }}"
|
||||
loop:
|
||||
- { regex: '$#PasswordAuthentication', line: 'PasswordAuthentication no', state: ''}
|
||||
- { regex: '', line: 'PasswordAuthentication yes', state: absent}
|
||||
- { regex: '$#PasswordAuthentication', line: 'PasswordAuthentication no', state: present}
|
||||
- { regex: ~, line: 'PasswordAuthentication yes', state: absent}
|
||||
- name: Delete 'ubuntu' user
|
||||
ansible.builtin.user:
|
||||
name: ubuntu
|
||||
|
@ -38,7 +38,7 @@ PropertyCategories:
|
||||
Configurations: '*'
|
||||
UserConfigurable: true
|
||||
- Key: guestinfo.rootsshkey
|
||||
Type: string(1..)
|
||||
Type: password(1..)
|
||||
Label: Local root SSH public key*
|
||||
Description: This line should start with 'ssh-rsa AAAAB3N'
|
||||
DefaultValue: ''
|
||||
|
Loading…
Reference in New Issue
Block a user