cni_plugin install 로직 변경
This commit is contained in:
@@ -4,11 +4,15 @@
|
|||||||
src: "{{ role_path }}/files/images"
|
src: "{{ role_path }}/files/images"
|
||||||
dest: /tmp/
|
dest: /tmp/
|
||||||
|
|
||||||
|
- name: Copy CNI_PLUGIN
|
||||||
|
ansible.posix.synchronize:
|
||||||
|
src: "/var/www/html/files_repo/cni-plugins-linux-amd64-v1.3.0.tgz"
|
||||||
|
dest: /tmp/cni-plugins-linux-amd64-v1.3.0.tgz
|
||||||
|
|
||||||
- name: Install CNI_PLUGIN
|
- name: Install CNI_PLUGIN
|
||||||
ansible.builtin.shell: |
|
ansible.builtin.shell: |
|
||||||
mkdir -p /opt/cni/bin
|
mkdir -p /opt/cni/bin
|
||||||
wget {{ hostvars[groups['all'][0]]['ip'] }}/cni-plugins-linux-amd64-v1.3.0.tgz /opt/cni/bin/
|
tar -C /opt/cni/bin/ -vzxf /tmp/cni-plugins-linux-amd64-v1.3.0.tgz
|
||||||
tar -C /opt/cni/bin/ -vzxf /opt/cni/bin/cni-plugins-linux-amd64-v1.3.0.tgz
|
|
||||||
|
|
||||||
- name: Load Registry image
|
- name: Load Registry image
|
||||||
ansible.builtin.shell: |
|
ansible.builtin.shell: |
|
||||||
@@ -24,4 +28,4 @@
|
|||||||
msg: |
|
msg: |
|
||||||
"Registry Address : {{ hostvars[groups['all'][0]]['ip'] }}:5000"
|
"Registry Address : {{ hostvars[groups['all'][0]]['ip'] }}:5000"
|
||||||
"TEST : curl {{ hostvars[groups['all'][0]]['ip'] }}:5000/v2/_catalog"
|
"TEST : curl {{ hostvars[groups['all'][0]]['ip'] }}:5000/v2/_catalog"
|
||||||
"Web UI : http://{{ hostvars[groups['all'][0]]['ip'] }}:8888"
|
"Web UI : http://{{ hostvars[groups['all'][0]]['ip'] }}:8888"
|
||||||
Reference in New Issue
Block a user