Verify SSH key rotation, file permissions, optional file removal and password management on Arch Linux, Debian and Fedora. Keep container dependencies scoped to the test scenario. Co-authored-by: Copilot <copilot@github.com>
15 lines
539 B
YAML
15 lines
539 B
YAML
---
|
|
|
|
_root_configuration:
|
|
ssh:
|
|
authorized_keys:
|
|
- content: '{{ lookup("ansible.builtin.file", molecule_ephemeral_directory + "/original.ed25519.pub") }}'
|
|
command: /usr/bin/true
|
|
- content: '{{ lookup("ansible.builtin.file", molecule_ephemeral_directory + "/replacement.ed25519.pub") }}'
|
|
config:
|
|
- Host: "*"
|
|
StrictHostKeyChecking: "no"
|
|
private_keys:
|
|
- content: '{{ lookup("ansible.builtin.file", molecule_ephemeral_directory + "/original.ed25519", rstrip=false) }}'
|
|
filename: molecule.ed25519
|