2 Commits

Author SHA1 Message Date
b6656c3d9c Fix SSH config;Housekeeping 2021-06-14 16:59:20 +02:00
82b8eeca4f Add jq package 2021-06-14 13:41:27 +02:00
3 changed files with 4 additions and 3 deletions

View File

@@ -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

View File

@@ -1,4 +1,5 @@
packages:
- jq
# (python3-*) Dependency for installation of Ansible
- python3-pip
- python3-setuptools

View File

@@ -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: ''