From cd96b0cd32db3e0eee6817bc6e97cc683e8ecac4 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Mon, 27 Mar 2023 13:03:02 -0700 Subject: [PATCH] playbooks: delete some old playbooks we no longer use Signed-off-by: Kevin Fenzi --- playbooks/bridgeify.yml | 35 ------------------------------ playbooks/run_fasClient.yml | 35 ------------------------------ playbooks/run_fasClient_simple.yml | 24 -------------------- 3 files changed, 94 deletions(-) delete mode 100644 playbooks/bridgeify.yml delete mode 100644 playbooks/run_fasClient.yml delete mode 100644 playbooks/run_fasClient_simple.yml diff --git a/playbooks/bridgeify.yml b/playbooks/bridgeify.yml deleted file mode 100644 index 8b1f4fbf02..0000000000 --- a/playbooks/bridgeify.yml +++ /dev/null @@ -1,35 +0,0 @@ -# Playbook to setup initial bridges on virthosts -# pass itL -# -e target=inventory_hostname -# -e br0 - -- hosts: "{{ target }}" - vars: - network_connections: - - name: br0 - state: up - type: bridge - autoconnect: yes - ip: - address: - - "{{ br0_ip }}/24" - gateway4: "{{ gw }}" - dns: - - 10.3.163.33 - - 10.3.163.34 - dns_search: - - vpn.fedoraproject.org - - iad2.fedoraproject.org - - fedoraproject.org - dhcp4: no - auto6: no - - - name: br0-port0 - state: up - type: ethernet - master: br0 - mac: "{{ br0_port0_mac }}" - - roles: - - role: linux-system-roles.network - diff --git a/playbooks/run_fasClient.yml b/playbooks/run_fasClient.yml deleted file mode 100644 index 9c00ef3eeb..0000000000 --- a/playbooks/run_fasClient.yml +++ /dev/null @@ -1,35 +0,0 @@ -# Run `fasClient` on all hosts, N hosts at a time -# -# We exclude builders and persistent-cloud as they don't have fasclient -# - -- name: run fasClient -a to make email aliases on bastion - hosts: bastion01.iad2.fedoraproject.org:bastion02.iad2.fedoraproject.org:bastion01.iad2.fedoraproject.org:bastion02.iad2.fedoraproject.org - user: root - gather_facts: False - - tasks: - - name: actually run fasClient -a - command: fasClient -a - ignore_errors: true - when: inventory_hostname_short.startswith('bastion0') - -- name: run fasClient on people and pkgs first as these are the ones most people want updated - hosts: people02.fedoraproject.org:pkgs01.iad2.fedoraproject.org - user: root - gather_facts: False - - tasks: - - name: actually run fasClient -i - command: fasClient -i - ignore_errors: true - -- name: run fasClient -i on the rest of hosts which only affects sysadmins - hosts: all:!builders:!*cloud*:!*composer*:!people*:!pkgs01*:!*.stg.*:!twisted*:!*.fedorainfracloud.org:!bkernel*:!autosign*:!*.app.os.fedoraproject.org:!*.app.os.stg.fedoraproject.org - user: root - gather_facts: False - - tasks: - - name: actually run fasClient -i - command: fasClient -i - ignore_errors: true diff --git a/playbooks/run_fasClient_simple.yml b/playbooks/run_fasClient_simple.yml deleted file mode 100644 index 37ff6ec8bd..0000000000 --- a/playbooks/run_fasClient_simple.yml +++ /dev/null @@ -1,24 +0,0 @@ -# Run `fasClient` on the hosts of interest for most of our users (ie: bastion -# for the aliases, fedorapeople, fedorahosted and pkgs.fp.o -# - -- name: run fasClient -a to make email aliases on bastion - hosts: bastion01.iad2.fedoraproject.org:bastion02.iad2.fedoraproject.org:bastion01.iad2.fedoraproject.org:bastion02.iad2.fedoraproject.org - user: root - gather_facts: False - - tasks: - - name: actually run fasClient -a - command: fasClient -a - when: inventory_hostname_short.startswith('bastion0') - ignore_errors: true - -- name: run fasClient on people and pkgs first as these are the ones most people want updated - hosts: people02.fedoraproject.org:pkgs01.iad2.fedoraproject.org - user: root - gather_facts: False - - tasks: - - name: actually run fasClient -i - command: fasClient -i - ignore_errors: true