myos/ansible/roles/hosts/tests/goss/ssh.yml

10 lines
174 B
YAML
Raw Normal View History

2021-02-09 17:05:00 +01:00
file:
/etc/ssh/sshd_config:
exists: true
mode: "0644"
owner: root
group: root
filetype: file
contains:
- /^PermitRootLogin prohibit-password/