mirror of
https://github.com/willshersystems/ansible-sshd
synced 2024-11-22 19:10:18 +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
|
- name: Make sure the key was not created
|
||||||
file:
|
file:
|
||||||
path: /tmp/missing_ssh_host_rsa_key
|
path: /tmp/missing_ssh_host_rsa_key
|
||||||
state: missing
|
state: absent
|
||||||
register: key
|
register: key
|
||||||
failed_when: key.changed
|
failed_when: key.changed
|
||||||
tags: tests::verify
|
tags: tests::verify
|
||||||
|
|
Loading…
Reference in a new issue