From 39e2e45cc21c8fb89942707e2be651246935d0da Mon Sep 17 00:00:00 2001 From: Vincent RABAH Date: Fri, 26 Apr 2019 21:10:27 +0200 Subject: [PATCH] Ansible provisionning (#217) Ansible provisionning contrib --- README.md | 65 +++++++++++++++++++ contrib/ansible/README.md | 43 ++++++++++++ contrib/ansible/ansible.cfg | 11 ++++ contrib/ansible/group_vars/all.yml | 4 ++ contrib/ansible/hosts.ini | 12 ++++ contrib/ansible/roles/download/tasks/main.yml | 36 ++++++++++ .../ansible/roles/k3s/master/tasks/main.yml | 43 ++++++++++++ .../roles/k3s/master/templates/k3s.service.j2 | 16 +++++ contrib/ansible/roles/k3s/node/tasks/main.yml | 16 +++++ .../roles/k3s/node/templates/k3s.service.j2 | 14 ++++ contrib/ansible/roles/raspbian/tasks/main.yml | 14 ++++ contrib/ansible/site.yml | 21 ++++++ 12 files changed, 295 insertions(+) create mode 100644 contrib/ansible/README.md create mode 100644 contrib/ansible/ansible.cfg create mode 100644 contrib/ansible/group_vars/all.yml create mode 100644 contrib/ansible/hosts.ini create mode 100644 contrib/ansible/roles/download/tasks/main.yml create mode 100644 contrib/ansible/roles/k3s/master/tasks/main.yml create mode 100644 contrib/ansible/roles/k3s/master/templates/k3s.service.j2 create mode 100644 contrib/ansible/roles/k3s/node/tasks/main.yml create mode 100644 contrib/ansible/roles/k3s/node/templates/k3s.service.j2 create mode 100644 contrib/ansible/roles/raspbian/tasks/main.yml create mode 100644 contrib/ansible/site.yml diff --git a/README.md b/README.md index 0b74f59713..7c107ac0d5 100644 --- a/README.md +++ b/README.md @@ -371,6 +371,71 @@ The full help text for the install script environment variables are as follows: Type of systemd service to create, will default from the k3s exec command if not specified. +openrc on Alpine Linux +------- + +In order to pre-setup Alpine Linux you have to go through the following steps: + +```bash +echo "cgroup /sys/fs/cgroup cgroup defaults 0 0" >> /etc/fstab + +cat >> /etc/cgconfig.conf <