Compare commits

..

2 Commits

Author SHA1 Message Date
33fd227634
Update the collections requirements
Signed-off-by: Jason Rothstein <fdragon@fdragon.org>
2025-06-07 18:43:31 -05:00
234807c278
Clean up ~/.ssh/known_hosts
Signed-off-by: Jason Rothstein <fdragon@fdragon.org>
2025-06-07 18:41:58 -05:00
2 changed files with 27 additions and 6 deletions

View File

@ -2,23 +2,29 @@
collections:
- name: 'ansible.netcommon'
- name: 'ansible.posix'
- name: 'ansible.utils'
- name: 'ansible.windows'
- name: 'awx.awx'
- name: 'community.crypto'
- name: 'community.digitalocean'
- name: 'community.docker'
- name: 'community.dns'
- name: 'community.general'
- name: 'community.grafana'
- name: 'community.kubernetes'
- name: 'community.hashi_vault'
- name: 'community.libvirt'
- name: 'community.mysql'
- name: 'community.network'
- name: 'community.postgresql'
- name: 'community.network'
- name: 'community.proxysql'
- name: 'community.rabbitmq'
- name: 'community.windows'
- name: 'community.zabbix'
- name: 'containers.podman'
- name: 'grafana.grafana'
- name: 'gluster.gluster'
- name: 'kubernetes.core'
- name: 'kubevirt.core'
- name: 'openstack.cloud'
- name: 'ovirt.ovirt'
- name: 'microsoft.ad'
- name: 'microsoft.iis'
- name: 'vultr.cloud'
...

15
known_hosts.yml Normal file
View File

@ -0,0 +1,15 @@
---
- name: 'all'
hosts: 'all'
gather_facts: false
serial: 1
tasks:
- name: 'Remove known_host file entries'
delegate_to: 'localhost'
ansible.builtin.shell:
ssh-keygen -f ~/.ssh/known_hosts -R {{ inventory_hostname }}
- name: 'Add known_hosts file entries'
delegate_to: 'localhost'
ansible.builtin.shell:
ssh-keyscan {{ inventory_hostname }} >> ~/.ssh/known_hosts
...