c12s-kubespray/roles/network_plugin/calico/rr/tasks/pre.yml

16 lines
332 B
YAML
Raw Permalink Normal View History

---
- name: Calico-rr | Disable calico-rr service if it exists
service:
name: calico-rr
state: stopped
enabled: no
failed_when: false
- name: Calico-rr | Delete obsolete files
file:
path: "{{ item }}"
state: absent
with_items:
- /etc/calico/calico-rr.env
- /etc/systemd/system/calico-rr.service