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.

28 lines
846 B

  1. ---
  2. - name: Trust etcd container
  3. command: >-
  4. /usr/bin/rkt trust
  5. --skip-fingerprint-review
  6. --root
  7. https://quay.io/aci-signing-key
  8. register: etcd_rkt_trust_result
  9. until: etcd_rkt_trust_result.rc == 0
  10. retries: 4
  11. delay: "{{ retry_stagger | random + 3 }}"
  12. changed_when: false
  13. environment: "{{proxy_env}}"
  14. - name: Install | Copy etcdctl binary from rkt container
  15. command: >-
  16. /usr/bin/rkt run
  17. --volume=bin-dir,kind=host,source={{ bin_dir}},readOnly=false
  18. --mount=volume=bin-dir,target=/host/bin
  19. {{ etcd_image_repo }}:{{ etcd_image_tag }}
  20. --name=etcdctl-binarycopy
  21. --exec=/bin/cp -- /usr/local/bin/etcdctl /host/bin/etcdctl
  22. register: etcd_task_result
  23. until: etcd_task_result.rc == 0
  24. retries: 4
  25. delay: "{{ retry_stagger | random + 3 }}"
  26. changed_when: false
  27. environment: "{{proxy_env}}"