Commit Graph

333 Commits

Author SHA1 Message Date
David Putzolu afbe4aceb6 Add missing newline at eof 2020-05-30 12:07:35 -07:00
David Putzolu 3911f28d2a Fix image downloading for Raspbian64 2020-05-30 09:54:34 -07:00
David Putzolu 6534ecaa83 Fix to make work on Raspbian64 2020-05-30 08:37:12 -07:00
David Putzolu 338d5eb654 Finally installed ansible-lint and fixed all lint errors. 2020-05-23 15:40:59 -07:00
David Putzolu 9422f65b5b Make cgroup enabling idempotent and fix ansible lint checks. 2020-05-23 09:31:40 -07:00
David Putzolu 58d847a78e More yamllint cleanup 2020-05-22 11:40:26 -07:00
David Putzolu bb0a63863a Lint cleanup timezone setting support. 2020-05-22 11:38:32 -07:00
David Putzolu 331c118049 Lint cleanup timezone setting support. 2020-05-22 11:36:19 -07:00
David Putzolu 07eca0143c Add timezone setting support. 2020-05-22 11:28:14 -07:00
David Putzolu 930f1b5586 Clean up conditionals a bit 2020-05-22 11:11:00 -07:00
David Putzolu 61c0e513fc Merge remote-tracking branch 'upstream/master' 2020-05-22 09:07:30 -07:00
David Putzolu 9ad3dd93e4 Add support for ubuntu 2020-05-22 09:01:03 -07:00
Vincent RABAH 2617620d98 Merge pull request #29 from rockaut/master
iptables-legacy for Raspian Buster
2020-05-22 08:45:29 +02:00
Vincent RABAH d14ffa6620 Merge pull request #25 from geerlingguy/24-hosts-clarity
Fixes #24: Add more clarity around inventory file creation.
2020-05-22 08:44:17 +02:00
Markus Fischbacher 5d92b0ac41 make sure its Raspbian Buster 2020-05-19 17:15:40 +02:00
Markus Fischbacher 02e9b3607d change to native ansible iptables flush 2020-05-19 09:36:53 +02:00
Markus Fischbacher bdd2d21dfc fix ansible-lint error 2020-05-19 09:22:51 +02:00
Markus Fischbacher 9452fd4b09 iptables-legacy for Raspian Buster 2020-05-19 09:13:29 +02:00
Julien DOCHE b508c721ad Merge pull request #27 from geerlingguy/26-failed-reset
Fixes #26: Ignore failure in service task in reset playbook so it can run.
2020-05-18 15:48:32 +02:00
Jeff Geerling ba1b9ae3f1 Fixes #26: Ignore failure in service task in reset playbook so it can run. 2020-05-18 08:35:43 -05:00
Julien DOCHE caf35f2ba8 Merge pull request #18 from geerlingguy/17-fix-changed-check
Fixes #17: Fix is changed check so reboot task doesn't fail.
2020-05-18 10:31:30 +02:00
Julien DOCHE d250fbd76d Merge pull request #23 from geerlingguy/22-file-mode-octal
Fixes #22: Set proper file mode using an octal.
2020-05-18 10:27:09 +02:00
Jeff Geerling 46dd5038bb Fixes #24: Add more clarity around inventory file creation. 2020-05-17 22:35:01 -05:00
Jeff Geerling 70888c8b74 Fixes #22: Set proper file mode using an octal. 2020-05-16 22:27:08 -05:00
Julien DOCHE 34f525392c Merge pull request #19 from geerlingguy/16-nocows
Fixes #16: Add nocows = true.
2020-05-15 09:15:46 +02:00
Julien DOCHE df45f1af2a Merge pull request #20 from geerlingguy/15-update-default-version
Fixes #15: Update default k3s version.
2020-05-15 09:10:10 +02:00
Jeff Geerling 6a1a7f7acb Fixes #15: Update default k3s version. 2020-05-14 21:43:57 -05:00
Jeff Geerling f21ac4c68a Fixes #16: Add nocows = true. 2020-05-14 21:43:02 -05:00
Jeff Geerling 5e51cf0365 Fixes #17: Fix is changed check so reboot task doesn't fail. 2020-05-14 21:42:01 -05:00
Vincent RABAH 497f16acaf Merge pull request #2 from St0rmingBr4in/fix-centos-2
Add /usr/local/bin to secure_path, Add br_netfilter on centos
2020-05-14 13:48:52 +02:00
Julien DOCHE 12aad6598a Add /usr/local/bin to secure_path, Add br_netfilter on centos
Signed-off-by: Julien DOCHE <julien.doche@gmail.com>
2020-05-13 16:20:54 +02:00
Vincent RABAH 1af4255e8f Merge pull request #1 from St0rmingBr4in/fix-centos-1
Fix systemd TimeoutStartSec
2020-05-13 09:46:29 +02:00
Vincent RABAH adef938864 Merge pull request #6 from geerlingguy/3-lint
Fixes #3: Fix linting issues, add ansible-lint and yamllint configuration.
2020-05-13 09:44:46 +02:00
Vincent RABAH ca1a48f426 Merge pull request #14 from 4m3ndy/master
fix typo for master_ip
2020-05-13 09:43:59 +02:00
Ahmed Sallam 0052215cf9 fix typo for master_ip 2020-05-12 23:41:24 +02:00
Julien DOCHE 43efd4f999 Merge pull request #12 from geerlingguy/11-license
Fixes #11: Add Apache 2.0 LICENSE file.
2020-05-12 23:19:42 +02:00
Jeff Geerling e47af78bfd Fixes #3: Fix linting issues, add ansible-lint and yamllint configuration. 2020-05-12 16:00:32 -05:00
Julien DOCHE bad25d1ba5 Merge pull request #7 from geerlingguy/4-inventory-name
Fixes #4: Use k3s_cluster (no dashes) for inventory name.
2020-05-12 22:58:41 +02:00
Julien DOCHE 3bee6136fc Merge pull request #8 from geerlingguy/5-reboot-module
Fixes #5: Use Ansible's reboot module instead of reboot command.
2020-05-12 22:53:41 +02:00
Julien DOCHE fdcc3aca5b Merge pull request #10 from geerlingguy/9-iptables-rhel
Fixes #9: Make sure both iptables and ip6tables are configured correctly.
2020-05-12 22:52:15 +02:00
Jeff Geerling 4d24f5915d Fixes #11: Add Apache 2.0 LICENSE file. 2020-05-12 15:29:41 -05:00
Jeff Geerling de1e73843a Fixes #9: Make sure both iptables and ip6tables are configured correctly. 2020-05-12 15:25:01 -05:00
Jeff Geerling 51407213ef Fixes #5: Use Ansible's reboot module instead of reboot command. 2020-05-12 15:22:32 -05:00
Jeff Geerling 7cb619feaf Fixes #4: Use k3s_cluster (no dashes) for inventory name. 2020-05-12 15:21:00 -05:00
Julien DOCHE 71dd910ec1 Fix systemd TimeoutStartSec
Signed-off-by: Julien DOCHE <julien.doche@gmail.com>
2020-05-12 17:20:53 +02:00
Craig Jellick 62914a0cfc Merge pull request #1735 from stellirin/performance
[systemd] Add value to LimitNOFILE due to performance problems
2020-05-06 16:37:37 -07:00
David Nuzik bbfcb385e7 Merge pull request #1730 from geerlingguy/1729-ansible-changed
Fixes #1729: Use 'is changed' instead of non-existent changed filter.
2020-05-04 09:36:38 -07:00
Adam Farden df10b51c91 [systemd] Add value to LimitNOFILE due to performance problems
When k3s is installed on an OS with default high ulimits, performance
issues can be observed. This was discovered on CoreOS where the default
value is 1073741816. Symptoms include very slow file operations such
as installing a Rook/Ceph cluster will take ~6 hours instead of ~10 minutes.

A google search for 'container LimitNOFILE' will show that most major
projects set this already, including the (unused) containerd systemd unit
found in this repository at /vendor/github.com/containerd/containerd/containerd.service

k3OS is not affected becuasse the default there is already 1048576.

See description in coreos/fedora-coreos-tracker#329
2020-05-03 09:37:00 +02:00
Jeff Geerling 2c4e2de635 Fix typo in Ansible README file scp command. 2020-05-01 23:02:08 -05:00
Jeff Geerling 33686cadae Fixes #1729: Use 'is changed' instead of non-existent changed filter. 2020-05-01 22:42:42 -05:00