---
- name: Calico-rr | Pre-upgrade tasks
  include_tasks: pre.yml

- name: Calico-rr | Configuring node tasks
  include_tasks: update-node.yml

- name: Calico-rr | Set label for route reflector  # noqa 301
  command: >-
    {{ bin_dir }}/calicoctl.sh label node {{ inventory_hostname }}
    'i-am-a-route-reflector=true' --overwrite
