noc-cc01 is no more

Remove it from main and remove it's playbook.
It was already removed from anisible.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi
2026-01-31 16:40:52 -08:00
parent 29a00a8986
commit 39563d49fe
2 changed files with 0 additions and 76 deletions

View File

@@ -62,9 +62,3 @@
- import_playbook: /srv/web/infra/ansible/playbooks/groups/virthost.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/wiki.yml
- import_playbook: /srv/web/infra/ansible/playbooks/groups/zabbix.yml
#
# host playbooks
#
- import_playbook: /srv/web/infra/ansible/playbooks/hosts/noc-cc01.rdu-cc.fedoraproject.org.yml

View File

@@ -1,70 +0,0 @@
# This is a basic playbook
---
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml"
vars:
myhosts: "noc-cc01.rdu-cc.fedoraproject.org"
- name: Make cloud noc hardware
hosts: noc-cc01.rdu-cc.fedoraproject.org
user: root
gather_facts: true
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
roles:
- base
- rkhunter
- nagios_client
- hosts
- openvpn/client
- zabbix/zabbix_agent
- ipa/client
- collectd/base
- sudo
- dhcp_server
- tftp_server
pre_tasks:
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
tasks:
- name: install some packages which arent in playbooks
ansible.builtin.package:
state: present
name:
- nmap
- tcpdump
- dhcp-server
- name: Check if ntpd port is already known by selinux
ansible.builtin.shell: semanage port -l | grep ntp
register: ntp_selinux_port
check_mode: no
changed_when: false
failed_when: false
tags:
- config
- selinux
- name: Allow alternate ntpd port
ansible.builtin.command: semanage port -a -t ntp_port_t -p tcp 124
when: '"124" not in ntp_selinux_port'
failed_when: false
tags:
- config
- selinux
- name: Allow alternate ntpd port
ansible.builtin.command: semanage port -a -t ntp_port_t -p udp 124
when: '"124" not in ntp_selinux_port'
failed_when: false
tags:
- config
- selinux
handlers:
- import_tasks: "{{ handlers_path }}/restart_services.yml"