Merge "Cleanup the kata setup role"
This commit is contained in:
commit
4ce9d6d1c3
@ -6,6 +6,18 @@
|
||||
- "setup/{{ ansible_os_family }}.yaml"
|
||||
- "setup/default.yaml"
|
||||
|
||||
- name: Allow k8s cluster range to talk to k8s api
|
||||
iptables:
|
||||
state: present
|
||||
action: insert
|
||||
chain: INPUT
|
||||
ip_version: ipv4
|
||||
protocol: tcp
|
||||
source: "10.244.0.0/16"
|
||||
destination_port: 6443
|
||||
jump: ACCEPT
|
||||
become: yes
|
||||
|
||||
- name: Run kata setup.sh
|
||||
args:
|
||||
executable: /bin/bash
|
||||
|
@ -45,3 +45,12 @@
|
||||
name: docker-ce
|
||||
state: present
|
||||
become: yes
|
||||
|
||||
# TODO why isn't this necessary on Ubuntu?
|
||||
- name: Ensure vhost and vhost_net modules are present as kata checks for these
|
||||
args:
|
||||
executable: /bin/bash
|
||||
shell: |
|
||||
set -x
|
||||
modprobe vhost_net
|
||||
become: yes
|
||||
|
Loading…
x
Reference in New Issue
Block a user