vhost_reboot: disable ocp for now until we can sort it out
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
c0e1dd0f1f
commit
dbc52da487
2 changed files with 16 additions and 16 deletions
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
eth0_ipv4_gw: 10.3.166.254
|
||||
eth0_ipv4_ip: 10.3.166.75
|
||||
ks_repo: http://10.3.163.35/pub/fedora/linux/releases/37/Server/x86_64/os/
|
||||
ks_repo: http://10.3.163.35/pub/fedora/linux/releases/38/Server/x86_64/os/
|
||||
ks_url: http://10.3.163.35/repo/rhel/ks/kvm-fedora
|
||||
nrpe_procs_crit: 1400
|
||||
nrpe_procs_warn: 1200
|
||||
|
|
|
@ -44,21 +44,21 @@
|
|||
serial: 1
|
||||
|
||||
tasks:
|
||||
- name: delegate to on-control01 for ocp4 cluster
|
||||
set_fact:
|
||||
os_delegate_via: os-control01
|
||||
when: inventory_hostname in groups['ocp']
|
||||
|
||||
- name: delegate to on-control01 for ocp4 cluster (stg)
|
||||
set_fact:
|
||||
os_delegate_via: os-control01.stg
|
||||
when: inventory_hostname in groups['ocp_stg']
|
||||
|
||||
- name: drain OS node if necessary
|
||||
command: oc adm drain {{inventory_hostname }} --ignore-daemonsets --delete-local-data
|
||||
delegate_to: "{{os_delegate_via}}{{env_suffix}}.iad2.fedoraproject.org"
|
||||
when: inventory_hostname.startswith(('ocp', 'worker')) and hostvars[inventory_hostname].datacenter == 'iad2'
|
||||
|
||||
# - name: delegate to on-control01 for ocp4 cluster
|
||||
# set_fact:
|
||||
# os_delegate_via: os-control01
|
||||
# when: inventory_hostname in groups['ocp']
|
||||
#
|
||||
# - name: delegate to on-control01 for ocp4 cluster (stg)
|
||||
# set_fact:
|
||||
# os_delegate_via: os-control01.stg
|
||||
# when: inventory_hostname in groups['ocp_stg']
|
||||
#
|
||||
# - name: drain OS node if necessary
|
||||
# command: oc adm drain {{inventory_hostname }} --ignore-daemonsets --delete-local-data
|
||||
# delegate_to: "{{os_delegate_via}}{{env_suffix}}.iad2.fedoraproject.org"
|
||||
# when: inventory_hostname.startswith(('ocp', 'worker')) and hostvars[inventory_hostname].datacenter == 'iad2'
|
||||
#
|
||||
- name: schedule regular host downtime
|
||||
nagios: action=downtime minutes=30 service=host host={{ inventory_hostname_short }}{{ env_suffix }}
|
||||
delegate_to: noc01.iad2.fedoraproject.org
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue