You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
480 B

  1. ---
  2. - name: Calico-rr | Pre-upgrade tasks
  3. include_tasks: pre.yml
  4. - name: Calico-rr | Configuring node tasks
  5. include_tasks: update-node.yml
  6. - name: Calico-rr | Set label for route reflector # noqa 301
  7. command: >-
  8. {{ bin_dir }}/calicoctl.sh label node {{ inventory_hostname }}
  9. 'i-am-a-route-reflector=true' --overwrite
  10. changed_when: false
  11. register: calico_rr_label
  12. until: calico_rr_label is succeeded
  13. delay: "{{ retry_stagger | random + 3 }}"
  14. retries: 10