mirror of
https://github.com/willshersystems/ansible-sshd
synced 2024-11-08 12:53:29 +01:00
use state: absent instead of state: missing
This commit is contained in:
parent
e1de59b3c5
commit
bb612fb6c5
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@
|
|||
- name: Make sure the key was not created
|
||||
file:
|
||||
path: /tmp/missing_ssh_host_rsa_key
|
||||
state: missing
|
||||
state: absent
|
||||
register: key
|
||||
failed_when: key.changed
|
||||
tags: tests::verify
|
||||
|
|
Loading…
Reference in a new issue