Compare commits
2 Commits
9dcbb0d0af
...
33fd227634
Author | SHA1 | Date | |
---|---|---|---|
33fd227634 | |||
234807c278 |
@ -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
15
known_hosts.yml
Normal 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
|
||||
...
|
Loading…
x
Reference in New Issue
Block a user