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.
|
|
|
- name: Setup HAProxy
|
|
|
|
hosts: all
|
|
|
|
become: yes
|
|
|
|
become_method: sudo
|
|
|
|
become_user: root
|
|
|
|
tasks:
|
|
|
|
- name: Install containerd
|
|
|
|
package:
|
|
|
|
name: containerd
|
|
|
|
enabled: true
|
|
|
|
state: present
|
|
|
|
- name: Install runc
|
|
|
|
package:
|
|
|
|
name: runc
|
|
|
|
state: present
|
|
|
|
- name: Install CNI Plugins
|
|
|
|
command: "{{ item }}" chdir=/tmp
|
|
|
|
with_items:
|
|
|
|
- wget https://github.com/containernetworking/plugins/releases/download/v1.4.1/cni-plugins-linux-arm64-v1.4.1.tgz
|
|
|
|
- mkdir -p /opt/cni/bin
|
|
|
|
- tar Cxzvf /opt/cni/bin cni-plugins-linux-arm64-v1.4.1.tgz
|
|
|
|
- rm cni-plugins-linux-arm64-v1.4.1.tgz
|