Compare commits
2 Commits
5af4d729ef
...
b6656c3d9c
Author | SHA1 | Date | |
---|---|---|---|
b6656c3d9c | |||
82b8eeca4f |
@@ -16,8 +16,8 @@
|
|||||||
line: "{{ item.line }}"
|
line: "{{ item.line }}"
|
||||||
state: "{{ item.state }}"
|
state: "{{ item.state }}"
|
||||||
loop:
|
loop:
|
||||||
- { regex: '$#PasswordAuthentication', line: 'PasswordAuthentication no', state: ''}
|
- { regex: '$#PasswordAuthentication', line: 'PasswordAuthentication no', state: present}
|
||||||
- { regex: '', line: 'PasswordAuthentication yes', state: absent}
|
- { regex: ~, line: 'PasswordAuthentication yes', state: absent}
|
||||||
- name: Delete 'ubuntu' user
|
- name: Delete 'ubuntu' user
|
||||||
ansible.builtin.user:
|
ansible.builtin.user:
|
||||||
name: ubuntu
|
name: ubuntu
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
packages:
|
packages:
|
||||||
|
- jq
|
||||||
# (python3-*) Dependency for installation of Ansible
|
# (python3-*) Dependency for installation of Ansible
|
||||||
- python3-pip
|
- python3-pip
|
||||||
- python3-setuptools
|
- python3-setuptools
|
||||||
|
@@ -38,7 +38,7 @@ PropertyCategories:
|
|||||||
Configurations: '*'
|
Configurations: '*'
|
||||||
UserConfigurable: true
|
UserConfigurable: true
|
||||||
- Key: guestinfo.rootsshkey
|
- Key: guestinfo.rootsshkey
|
||||||
Type: string(1..)
|
Type: password(1..)
|
||||||
Label: Local root SSH public key*
|
Label: Local root SSH public key*
|
||||||
Description: This line should start with 'ssh-rsa AAAAB3N'
|
Description: This line should start with 'ssh-rsa AAAAB3N'
|
||||||
DefaultValue: ''
|
DefaultValue: ''
|
||||||
|
Reference in New Issue
Block a user