Compare commits

...
5 Commits
Author SHA1 Message Date
jmrothst 6775693835 Add rsync and gitea roles
Signed-off-by: Jason Rothstein <fdragon@fdragon.org>
2026-05-09 16:23:19 -04:00
jmrothst a8ef77c981 Fix yamllint issues and turn on SSH Connection Pooling 2026-04-29 23:16:14 -05:00
jmrothst ae3d7b985d Removed ansible.utils as it doesn't appear to exist any more
Signed-off-by: Jason Rothstein <fdragon@fdragon.org>
2026-03-09 00:11:42 -05:00
jmrothst 33fd227634 Update the collections requirements
Signed-off-by: Jason Rothstein <fdragon@fdragon.org>
2025-06-07 18:43:31 -05:00
jmrothst 234807c278 Clean up ~/.ssh/known_hosts
Signed-off-by: Jason Rothstein <fdragon@fdragon.org>
2025-06-07 18:41:58 -05:00
5 changed files with 41 additions and 6 deletions
+1 -1
View File
@@ -12,4 +12,4 @@ callbacks_enabled = ansible.posix.profile_tasks,ansible.posix.profile_roles
[ssh_connection]
pipelining = true
# ssh_args = -o ControlMaster=auto
ssh_args = -o ControlMaster=auto
+10 -5
View File
@@ -6,19 +6,24 @@ collections:
- 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'
...
+15
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
...
+8
View File
@@ -21,6 +21,9 @@ roles:
- name: 'ensure_git'
src: 'git+https://git.fdragon.com/AnsibleRoles/ensure_git.git'
version: 'master'
- name: 'ensure_gitea'
src: 'git+https://git.fdragon.com/AnsibleRoles/ensure_gitea.git'
version: 'main'
- name: 'ensure_hostname'
src: 'git+https://git.fdragon.com/AnsibleRoles/ensure_hostname.git'
version: 'master'
@@ -51,6 +54,9 @@ roles:
- name: 'ensure_repo_rpmfusion'
src: 'git+https://git.fdragon.com/AnsibleRoles/ensure_repo_rpmfusion.git'
version: 'master'
- name: 'ensure_rsync'
src: 'git+https://git.fdragon.com/AnsibleRoles/ensure_rsync.git'
version: 'main'
- name: 'ensure_selinux'
src: 'git+https://git.fdragon.com/AnsibleRoles/ensure_selinux.git'
version: 'master'
@@ -63,3 +69,5 @@ roles:
- name: 'ensure_vim'
src: 'git+https://git.fdragon.com/AnsibleRoles/ensure_vim.git'
version: 'master'
...
+7
View File
@@ -12,6 +12,7 @@
- role: 'ensure_log_rotation'
- role: 'ensure_repo_epel'
- role: 'ensure_repo_rpmfusion'
- role: 'ensure_rsync'
- role: 'ensure_selinux'
- role: 'ensure_sudo'
- role: 'ensure_timezone'
@@ -46,4 +47,10 @@
gather_facts: 'yes'
roles:
- role: 'ensure_podman'
- name: 'gitea'
hosts: 'gitea'
gather_facts: 'yes'
roles:
- role: 'ensure_gitea'
...