upgrade_etcd.yml 538 B

123456789101112131415161718192021222324
  1. ---
  2. - name: Create initial host groups for localhost
  3. hosts: localhost
  4. connection: local
  5. become: no
  6. gather_facts: no
  7. tags:
  8. - always
  9. tasks:
  10. - include_vars: ../cluster_hosts.yml
  11. - add_host:
  12. name: "{{ item }}"
  13. groups: l_oo_all_hosts
  14. with_items: "{{ g_all_hosts | default([]) }}"
  15. - name: Create initial host groups for all hosts
  16. hosts: l_oo_all_hosts
  17. gather_facts: no
  18. tags:
  19. - always
  20. tasks:
  21. - include_vars: ../cluster_hosts.yml
  22. - include: ../../../common/openshift-cluster/upgrades/etcd/main.yml