Update 'clean_known_hosts.yml'

This commit is contained in:
B.E. Droge 2022-06-13 17:04:21 +02:00
parent 9613d10b33
commit d556f7a71d
2 changed files with 9 additions and 8 deletions

9
clean_known_hosts.yml Normal file
View File

@ -0,0 +1,9 @@
---
- hosts: localhost
become: yes
tasks:
- name: Show contents of known_hosts file
shell: |
cat /var/lib/awx/.ssh/known_hosts
ignore_errors: yes
delegate_to: 127.0.0.1

View File

@ -1,8 +0,0 @@
---
- name: Echo
hosts: all
tasks:
- name: Print hello
debug:
msg: Hello, world!