Commit Graph

194 Commits

Author SHA1 Message Date
Vincent RABAH
937f20d9ca
Revert "Add Alpine Linux configuration" 2021-01-28 17:29:51 +01:00
Vincent RABAH
dbbdfdff4a
Merge pull request #107 from jiayihu/alpine
Add Alpine Linux configuration
2021-01-28 17:13:42 +01:00
Staf Wagemakers
fe7bdf8cda Reorganize the filesystem umount order.
* Clean /var/lib/kubelet before /var/lib/rancher/k3s.
* Umount the filesystem tree in reverse order, to ensure the root
  is umounted last.

Signed-off-by: Staf Wagemakers <staf@wagemakers.be>
2021-01-24 11:04:30 +01:00
Jiayi Hu
ec953544c4 Add Alpine reset configuration 2020-12-28 15:58:16 +01:00
Jiayi Hu
d22ad01d50 Add Alpine Linux configuration
Signed-off-by: Jiayi Hu <jiayi.ghu@gmail.com>
2020-12-15 12:33:22 +01:00
Julien DOCHE
999803ae14
Merge pull request #103 from kopwei/master
Correct repo path in downloading URL
2020-12-02 17:22:51 +01:00
kopwei
7e38173d31 Correct repo path in downloading URL
Fix #102, use k3s-io/k3s instead of rancher/k3s

Signed-off-by: kopwei <kopkop@gmail.com>
2020-12-02 15:06:24 +00:00
Tomasz Kuzemko
29e6acb7e7
Set service file mode -x
Systemd service files should not be executable
2020-10-17 23:55:12 +02:00
Julien DOCHE
721c348702
Merge pull request #79 from stafwag/master
Moved Raspberry Pi specifics settings to raspberrypi role
2020-09-27 18:59:18 +02:00
Julien DOCHE
a066c77ab5
Merge pull request #80 from jeffspahr/master
Fix umount_with_children typo
2020-09-27 18:47:04 +02:00
Julien DOCHE
b9fbe05aa2
Merge pull request #92 from lentzi90/develop
Use checksum with get_url
2020-09-27 18:09:42 +02:00
Lennart Jern
ca7c25b81c Fix linting errors 2020-09-22 21:08:35 +03:00
Lennart Jern
6873913124 Use checksum with get_url
When the checksum is used there is no need to delete the binary first, 
as it will be compared to the checksum and downloaded and replaced only 
as needed.
2020-09-20 21:19:44 +03:00
jeffspahr
cf65304039
Fix umount_with_children typo 2020-08-16 21:26:25 -04:00
jeffspahr
76e1c7838a
Rename umount_with_childeren.yml to umount_with_children.yml 2020-08-16 21:25:28 -04:00
Staf Wagemakers
f8aebf8ec6 trailing space removed 2020-08-16 21:55:34 +02:00
Staf Wagemakers
c657367755 lint errors corrected 2020-08-16 21:53:00 +02:00
Staf Wagemakers
d2b420588e support for CentOS on the Raspberry Pi added 2020-08-16 20:38:12 +02:00
Staf Wagemakers
98473e2b09 only execute PI os specific settings on a PI 2020-08-16 12:52:25 +02:00
Staf Wagemakers
a5782b1d61 * updated description
* use handler for the reboot
* removed ARM cpu detection
2020-08-16 10:11:15 +02:00
Staf Wagemakers
53efb429e3 moved raspberry specific settings to raspberrypi role 2020-08-16 10:03:10 +02:00
Julien DOCHE
09a68c398f
Merge pull request #63 from JohnTheNerd/master
Fixed Raspbian detection on 64-bit kernel, made reboot only do so if needed
2020-08-05 12:20:10 +02:00
John
05ade9a4bb moved handler inside the role folder 2020-07-30 22:04:57 -02:30
John
022bf9440f turned reboot into a handler 2020-07-30 13:33:53 -02:30
John
01de3488a2 Fixed Raspbian detection on 64-bit kernel, only reboot Raspbian if needed 2020-07-30 13:33:53 -02:30
Julien DOCHE
9ff274481d
Merge pull request #54 from fnord123/issue40_cgroups_on_ubuntu_x86
Fix cgroups on ubuntu x86 (Issue 40)
2020-07-30 16:36:22 +02:00
Julien DOCHE
ad3dc65cd9
Merge pull request #66 from stafwag/master
reset role updated to killall containerd daemons and umount k3s filesystems
2020-07-26 16:26:31 +02:00
Staf Wagemakers
7bab4cb165 removed typo ':' 2020-07-24 20:21:38 +02:00
Staf Wagemakers
e8b0b89d5d use pkill on the full command line instead of killall 2020-07-24 20:15:48 +02:00
Staf Wagemakers
afc6c8add7 updated to verify the exit code of killall, only report a change if something is killed 2020-07-24 15:46:07 +02:00
Staf Wagemakers
637e49d75e use lowercase for booleans 2020-07-24 14:16:10 +02:00
Julien DOCHE
39632b7656
Merge pull request #51 from edenreich/allow-to-configure-agent
Allow to configure the agent as well
2020-07-24 11:29:47 +02:00
Julien DOCHE
386a46d353
Merge pull request #42 from fnord123/master
Fix Raspbian role to run correctly on Python 3.x (e.g. Ubuntu 20.04) Ansible host
2020-07-24 11:27:58 +02:00
Julien DOCHE
f83368d05b
Merge pull request #58 from guofengzh/master
Fixes: #56
2020-07-24 11:19:46 +02:00
Julien DOCHE
9fbd0e6a76
Merge pull request #64 from b-m-f/patch-1
Fix typo in k3s main.yml
2020-07-24 10:45:13 +02:00
Staf Wagemakers
e2c4882dba fixed ansible lint error: set -o pipefail added. 2020-07-22 20:48:40 +02:00
Staf Wagemakers
4058ee42e6 killall containerd-shim-runc-v2 added
umount k3s filesystems added
2020-07-22 18:43:06 +02:00
Julien DOCHE
5ea14c1771
Merge pull request #65 from b-m-f/master
Pass through extra arguments to the nodes with extra_node_args group …
2020-07-21 17:44:04 +02:00
b-m-f
876b083ac9
Change extra_node_args to extra_agent_args 2020-07-21 16:50:46 +02:00
b-m-f
e6bee3e17f
Pass through extra arguments to the nodes with extra_node_args group variable 2020-07-21 14:12:20 +02:00
Maximilian Ehlers
4e5fe89150
Update main.yml
Fixes small typo
2020-07-20 13:40:52 +02:00
guofeng zhang
1971b5741c Fixes: #56 2020-07-14 23:14:20 +08:00
David Putzolu
a9294b1d43 Skip ARM specific tasks on Ubuntu to fix issue 40 2020-06-20 17:10:42 -07:00
Eden Reich
8522df0677 allow to configure the agent as well 2020-06-20 21:26:20 +02:00
David Putzolu
a850b4a89a Fix Raspbian rol eto run correctly on Ubuntu Ansible host 2020-06-06 09:13:54 -07:00
Julien DOCHE
f616f3a593
Merge pull request #41 from zaherg/master
Have a sample inventory directory as a start point
2020-06-06 11:08:15 +02:00
Zaher Ghaibeh
7934027318 fix typos 2020-06-06 12:05:37 +03:00
Zaher Ghaibeh
5243733c2b update gitignore correctly 2020-06-06 12:01:41 +03:00
Zaher Ghaibeh
81a96c76d1 update .gitignore 2020-06-06 12:00:31 +03:00
Zaher Ghaibeh
f0232e2d72 remove inventory/my-cluster 2020-06-06 11:59:40 +03:00