-- name: Setting pull image path
- # yamllint disable rule:line-length
- command: kubectl create secret docker-registry swrregcred --docker-server=https://swr.ap-southeast-1.myhuaweicloud.com/v2/ --docker-username={{ vardata.swrusr.name}} --docker-password={{ vardata.swrpass.name}}
- # yamllint disable rule:line-length
- args:
- chdir: /tmp/eg_mep/deploy/
-
-- name: Copy macvln
- command: cp -r /tmp/remote-platform/cni/macvlan /opt/cni/bin/
- args:
- chdir: /tmp/eg_mep/deploy/
-
-- name: Setup local-host
- command: cp -r /tmp/remote-platform/cni/host-local /opt/cni/bin/
- args:
- chdir: /tmp/eg_mep/deploy/
-