Compare commits
5
Commits
master
...
6775693835
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6775693835
|
||
|
|
a8ef77c981
|
||
|
|
ae3d7b985d
|
||
|
|
33fd227634
|
||
|
|
234807c278
|
+1
-1
@@ -12,4 +12,4 @@ callbacks_enabled = ansible.posix.profile_tasks,ansible.posix.profile_roles
|
|||||||
|
|
||||||
[ssh_connection]
|
[ssh_connection]
|
||||||
pipelining = true
|
pipelining = true
|
||||||
# ssh_args = -o ControlMaster=auto
|
ssh_args = -o ControlMaster=auto
|
||||||
|
|||||||
@@ -6,19 +6,24 @@ collections:
|
|||||||
- name: 'awx.awx'
|
- name: 'awx.awx'
|
||||||
- name: 'community.crypto'
|
- name: 'community.crypto'
|
||||||
- name: 'community.digitalocean'
|
- name: 'community.digitalocean'
|
||||||
- name: 'community.docker'
|
- name: 'community.dns'
|
||||||
- name: 'community.general'
|
- name: 'community.general'
|
||||||
- name: 'community.grafana'
|
- name: 'community.grafana'
|
||||||
- name: 'community.kubernetes'
|
- name: 'community.hashi_vault'
|
||||||
- name: 'community.libvirt'
|
- name: 'community.libvirt'
|
||||||
- name: 'community.mysql'
|
- name: 'community.mysql'
|
||||||
- name: 'community.network'
|
|
||||||
- name: 'community.postgresql'
|
- name: 'community.postgresql'
|
||||||
- name: 'community.network'
|
- name: 'community.proxysql'
|
||||||
|
- name: 'community.rabbitmq'
|
||||||
- name: 'community.windows'
|
- name: 'community.windows'
|
||||||
- name: 'community.zabbix'
|
- name: 'community.zabbix'
|
||||||
- name: 'containers.podman'
|
- name: 'containers.podman'
|
||||||
|
- name: 'grafana.grafana'
|
||||||
- name: 'gluster.gluster'
|
- name: 'gluster.gluster'
|
||||||
|
- name: 'kubernetes.core'
|
||||||
|
- name: 'kubevirt.core'
|
||||||
- name: 'openstack.cloud'
|
- name: 'openstack.cloud'
|
||||||
- name: 'ovirt.ovirt'
|
- name: 'microsoft.ad'
|
||||||
|
- name: 'microsoft.iis'
|
||||||
|
...
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
...
|
||||||
@@ -21,6 +21,9 @@ roles:
|
|||||||
- name: 'ensure_git'
|
- name: 'ensure_git'
|
||||||
src: 'git+https://git.fdragon.com/AnsibleRoles/ensure_git.git'
|
src: 'git+https://git.fdragon.com/AnsibleRoles/ensure_git.git'
|
||||||
version: 'master'
|
version: 'master'
|
||||||
|
- name: 'ensure_gitea'
|
||||||
|
src: 'git+https://git.fdragon.com/AnsibleRoles/ensure_gitea.git'
|
||||||
|
version: 'main'
|
||||||
- name: 'ensure_hostname'
|
- name: 'ensure_hostname'
|
||||||
src: 'git+https://git.fdragon.com/AnsibleRoles/ensure_hostname.git'
|
src: 'git+https://git.fdragon.com/AnsibleRoles/ensure_hostname.git'
|
||||||
version: 'master'
|
version: 'master'
|
||||||
@@ -51,6 +54,9 @@ roles:
|
|||||||
- name: 'ensure_repo_rpmfusion'
|
- name: 'ensure_repo_rpmfusion'
|
||||||
src: 'git+https://git.fdragon.com/AnsibleRoles/ensure_repo_rpmfusion.git'
|
src: 'git+https://git.fdragon.com/AnsibleRoles/ensure_repo_rpmfusion.git'
|
||||||
version: 'master'
|
version: 'master'
|
||||||
|
- name: 'ensure_rsync'
|
||||||
|
src: 'git+https://git.fdragon.com/AnsibleRoles/ensure_rsync.git'
|
||||||
|
version: 'main'
|
||||||
- name: 'ensure_selinux'
|
- name: 'ensure_selinux'
|
||||||
src: 'git+https://git.fdragon.com/AnsibleRoles/ensure_selinux.git'
|
src: 'git+https://git.fdragon.com/AnsibleRoles/ensure_selinux.git'
|
||||||
version: 'master'
|
version: 'master'
|
||||||
@@ -63,3 +69,5 @@ roles:
|
|||||||
- name: 'ensure_vim'
|
- name: 'ensure_vim'
|
||||||
src: 'git+https://git.fdragon.com/AnsibleRoles/ensure_vim.git'
|
src: 'git+https://git.fdragon.com/AnsibleRoles/ensure_vim.git'
|
||||||
version: 'master'
|
version: 'master'
|
||||||
|
...
|
||||||
|
|
||||||
|
|||||||
@@ -12,6 +12,7 @@
|
|||||||
- role: 'ensure_log_rotation'
|
- role: 'ensure_log_rotation'
|
||||||
- role: 'ensure_repo_epel'
|
- role: 'ensure_repo_epel'
|
||||||
- role: 'ensure_repo_rpmfusion'
|
- role: 'ensure_repo_rpmfusion'
|
||||||
|
- role: 'ensure_rsync'
|
||||||
- role: 'ensure_selinux'
|
- role: 'ensure_selinux'
|
||||||
- role: 'ensure_sudo'
|
- role: 'ensure_sudo'
|
||||||
- role: 'ensure_timezone'
|
- role: 'ensure_timezone'
|
||||||
@@ -46,4 +47,10 @@
|
|||||||
gather_facts: 'yes'
|
gather_facts: 'yes'
|
||||||
roles:
|
roles:
|
||||||
- role: 'ensure_podman'
|
- role: 'ensure_podman'
|
||||||
|
- name: 'gitea'
|
||||||
|
hosts: 'gitea'
|
||||||
|
gather_facts: 'yes'
|
||||||
|
roles:
|
||||||
|
- role: 'ensure_gitea'
|
||||||
...
|
...
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user