1
0
Fork 0
forked from infra/ansible

Collectd: cleanup collectd everywhere except FMN

Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
This commit is contained in:
Greg Sutcliffe 2026-07-08 15:41:31 +01:00 committed by Greg Sutcliffe
commit c51e04de81
93 changed files with 16 additions and 481 deletions

View file

@ -73,16 +73,6 @@
- /etc/dracut.conf.d/sgdisk.conf
- /etc/dracut.conf.d/xen.conf
# CollectD files:
- /etc/collectd.d/bind.conf
- /etc/collectd.d/fmn.conf
- /etc/collectd.d/memcached.conf
- /etc/collectd.d/network.conf
- /etc/collectd.d/nfs.conf
- /etc/collectd.d/postgres.conf
- /etc/collectd.d/unixsock.conf
- /etc/collectd.d/vfive-upgrade.conf
# Our crond conf files:
- /etc/cron.daily/cleanup-stage-users
- /etc/cron.daily/data-only-backup.sh
@ -265,7 +255,6 @@
- /etc/httpd/conf.d/admin.fedoraproject.org/admin-rewrite.conf
- /etc/httpd/conf.d/admin.fedoraproject.org/apache-status-rewrite.conf
- /etc/httpd/conf.d/admin.fedoraproject.org/awstats.conf
- /etc/httpd/conf.d/admin.fedoraproject.org/collectd.conf
- /etc/httpd/conf.d/admin.fedoraproject.org/community-redirect.conf
- /etc/httpd/conf.d/admin.fedoraproject.org.conf
- /etc/httpd/conf.d/admin.fedoraproject.org/elections-redirectmatch.conf
@ -1607,7 +1596,6 @@
- /etc/systemd/system/anubis.service
- /etc/systemd/system/bodhi-celery.service
- /etc/systemd/system/btrfs-balance.timer.d/schedule.conf
- /etc/systemd/system/collectd.service.d/timeout.conf
- /etc/systemd/system/debuginfod.service.d/override.conf
- /etc/systemd/system/dirsrv@FEDORAPROJECT-ORG.service.d/ipa-env.conf
- /etc/systemd/system/dirsrv@STG-FEDORAPROJECT-ORG.service.d/ipa-env.conf

View file

@ -22,7 +22,6 @@
- zabbix/zabbix_agent
- ipa/client
- sudo
- collectd/base
- { role: nfs/client,
mnt_dir: '/fedora_backups',
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,sec=sys,nfsvers=3",

View file

@ -21,7 +21,6 @@
- ipa/client
- hosts
- sudo
- collectd/base
- packager_alias
- opendkim
- fasjson

View file

@ -22,7 +22,6 @@
- ipa/client
- ansible-server
- sudo
- collectd/base
- role: git/hooks
- rsyncd
- apache

View file

@ -36,7 +36,6 @@
roles:
- base
- zabbix/zabbix_agent
- collectd/base
- hosts
- ipa/client
- sudo

View file

@ -24,7 +24,6 @@
- rkhunter
- hosts
- ipa/client
- collectd/base
- sudo
handlers:

View file

@ -67,8 +67,6 @@
# - zabbix/zabbix_agent
- hosts
- postgresql_server
# - collectd/base
# - collectd/postgres # This requires a 'databases' var to be set in host_vars
- sudo
handlers:

View file

@ -22,7 +22,6 @@
- zabbix/zabbix_agent
- hosts
- ipa/client
- collectd/base
- role: nfs/client
mount_stg: true

View file

@ -23,7 +23,6 @@
when: datacenter != 'rdu3' }
- zabbix/zabbix_agent
- ipa/client
- collectd/base
- rsyncd
- sudo
- dns

View file

@ -36,7 +36,6 @@
- { role: openvpn/client, when: vpn == True }
- zabbix/zabbix_agent
- ipa/client
- collectd/base
- apache
- download
- role: anubis-el

View file

@ -18,7 +18,6 @@
- rkhunter
- zabbix/zabbix_agent
- ipa/client
- collectd/base
- sudo
- flatpak-cache

View file

@ -17,7 +17,6 @@
- base
- rkhunter
- zabbix/zabbix_agent
- collectd/base
- hosts
- {role: openvpn/client,
when: env != "staging"}

View file

@ -43,7 +43,6 @@
- hosts
- rsyncd
- sudo
- collectd/base
- {role: openvpn/client,
when: env != "staging"}
- mod_wsgi

View file

@ -21,7 +21,6 @@
- hosts
- rsyncd
- sudo
- collectd/base
- {role: openvpn/client,
when: env != "staging"}
- mod_wsgi

View file

@ -30,7 +30,6 @@
- zabbix/zabbix_agent
- hosts
- ipa/client
- collectd/base
- apache
- mod_wsgi
- role: keytab/service

View file

@ -23,7 +23,6 @@
- zabbix/zabbix_agent
- ipa/client
- sudo
- collectd/base
- apache
- rsyncd
- role: nfs/client

View file

@ -21,7 +21,6 @@
- openvpn/client
- ipa/client
- apache
- collectd/base
- sudo
- web-data-analysis
- role: keytab/service
@ -101,6 +100,3 @@
- bc
- gnuplot
- mod_auth_gssapi
- name: Set domain_can_mmap_files so collectd works
seboolean: name=domain_can_mmap_files state=yes persistent=yes

View file

@ -25,7 +25,6 @@
- {role: openvpn/client,
when: env != "staging"}
- ipa/client
- collectd/base
- sudo
- spamassassin
- mod_wsgi

View file

@ -29,7 +29,6 @@
- zabbix/zabbix_agent
- hosts
- mariadb_server
- collectd/base
- sudo
pre_tasks:

View file

@ -19,7 +19,6 @@
- zabbix/zabbix_agent
- hosts
- ipa/client
- collectd/base
- sudo
- memcached

View file

@ -19,7 +19,6 @@
- rkhunter
- hosts
- ipa/client
- collectd/base
- sudo
- openvpn/client
- zabbix/zabbix_agent

View file

@ -24,7 +24,6 @@
- { role: openvpn/client, when: env != "staging" }
- zabbix/zabbix_agent
- ipa/client
- collectd/base
- { role: rsyncd, when: datacenter == 'rdu3' }
- sudo
- apache

View file

@ -23,7 +23,6 @@
- { role: openvpn/client,
when: env != "staging" }
- ipa/client
- collectd/base
- rsyncd
- sudo
- role: nfs/client

View file

@ -18,7 +18,6 @@
- { role: rkhunter, tags: ['rkhunter'] }
- { role: hosts, tags: ['hosts']}
- ipa/client
- { role: collectd/base, tags: ['collectd_base'] }
- { role: sudo, tags: ['sudo'] }
- apache

View file

@ -19,7 +19,6 @@
- { role: hosts, tags: ['hosts']}
- zabbix/zabbix_agent
- { role: ipa/client, tags: ['ipa_client']}
- { role: collectd/base, tags: ['collectd_base'] }
- { role: sudo, tags: ['sudo'] }
- { role: openqa/worker, tags: ['openqa_worker'] }
- { role: linux-system-roles.nbde_client, tags: ['nbde_client'], when: openqa_nbde|bool }

View file

@ -23,7 +23,6 @@
- { role: hosts, tags: ['hosts']}
- zabbix/zabbix_agent
- ipa/client
- { role: collectd/base, tags: ['collectd_base'] }
- { role: sudo, tags: ['sudo'] }
- apache

View file

@ -21,7 +21,6 @@
- openvpn/client
- ipa/client
- sudo
- collectd/base
pre_tasks:
- import_tasks: "{{ tasks_path }}/yumrepos.yml"

View file

@ -21,7 +21,6 @@
- openvpn/client
- ipa/client
- sudo
- collectd/base
- postgresql_server
pre_tasks:

View file

@ -61,7 +61,6 @@
roles:
- base
- collectd/base
- role: openvpn/client
when: env != "staging"
- ipa/client

View file

@ -19,7 +19,6 @@
- rkhunter
- zabbix/zabbix_agent
- ipa/client
- collectd/base
- sudo
- apache

View file

@ -49,7 +49,6 @@
- zabbix/zabbix_agent
- hosts
- postgresql_server
- collectd/base
- sudo
# TODO: add iscsi task

View file

@ -26,7 +26,6 @@
- ipa/client
- rkhunter
- zabbix/zabbix_agent
- collectd/base
- sudo
- rsyncd
- {role: mirrormanager/mirrorlist_proxy,

View file

@ -22,7 +22,6 @@
- zabbix/zabbix_agent
- hosts
- ipa/client
- collectd/base
- rsyncd
- sudo
- rabbitmq_cluster

View file

@ -36,7 +36,6 @@
- ipa/client
- rkhunter
- zabbix/zabbix_agent
- collectd/base
- sudo
- role: keytab/service
service: compose

View file

@ -19,7 +19,6 @@
- hosts
- zabbix/zabbix_agent
- ipa/client
- collectd/base
- download
- rsyncd
- sudo

View file

@ -23,7 +23,6 @@
when: env != "staging" }
- zabbix/zabbix_agent
- ipa/client
- collectd/base
- sudo
pre_tasks:

View file

@ -23,7 +23,6 @@
when: env != "staging" }
- zabbix/zabbix_agent
- ipa/client
- collectd/base
- sudo
pre_tasks:

View file

@ -27,7 +27,6 @@
when: env != "staging"
}
- ipa/client
- collectd/base
- mod_wsgi
- geoip
- geoip-city-wsgi/app

View file

@ -20,7 +20,6 @@
- openvpn/client
- zabbix/zabbix_agent
- ipa/client
- collectd/base
- rsyncd
- sudo
- torrent

View file

@ -33,7 +33,6 @@
service: zodbot,
when: env == "production"
}
- collectd/base
- apache
- supybot
- sudo

View file

@ -44,7 +44,6 @@
- hosts
- {role: openvpn/client, when: vpn|bool}
- ipa/client
- {role: collectd/base, when: ansible_distribution_major_version|int != 10}
- sudo
- virthost
- {role: linux-system-roles.nbde_client, tags: ['nbde_client'], when: (nbde|bool) }

View file

@ -29,7 +29,6 @@
- { role: openvpn/client,
when: env != "staging" }
- ipa/client
- collectd/base
- apache
# Set up for fedora-messaging
- role: rabbit/user

View file

@ -18,7 +18,6 @@
- rkhunter
- hosts
- ipa/client
- collectd/base
- sudo
- { role: zabbix/zabbix_server, tags: zabbix_server }
- { role: zabbix/zabbix_agent, tags: zabbix_agent }

View file

@ -19,7 +19,6 @@
- base
- rkhunter
- hosts
- collectd/base
- sudo
- dhcp_server
- tftp_server

View file

@ -27,7 +27,6 @@
- zabbix/zabbix_agent
- hosts
- ipa/client
- collectd/base
- sudo
- role: nfs/client
mnt_dir: '/mnt/fedora_koji'

View file

@ -33,7 +33,6 @@
roles:
- base
- rkhunter
- collectd/base
- sudo
pre_tasks: