Skip to content

Instantly share code, notes, and snippets.

@abdennour
Created April 26, 2019 20:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abdennour/6354f913f1a29dedc96a663648255197 to your computer and use it in GitHub Desktop.
Save abdennour/6354f913f1a29dedc96a663648255197 to your computer and use it in GitHub Desktop.
Attempt to make k3s work on RHEL by an Ansible Playbook
- name: k3s readiness
hosts: localhost
become: yes
tasks:
- name: firewalld is installed
yum:
name: firewalld
state: latest
- name: service is started
service:
name: firewalld
state: started
enabled: true
- name: k3s requirements are satisfied
firewalld:
port: 6443/tcp
state: enabled
permanent: true
immediate: yes
- name: service is restarted
service:
name: firewalld
state: restarted
enabled: true
@abdennour
Copy link
Author

This gist was created to be referred in this GH issue : k3s-io/k3s#401

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment