Commit Graph

10 Commits

Author SHA1 Message Date
Nicholas Malcolm df67c61ba5 Add HA option, change to yaml inventory, cleanup
- HA option for multiple server nodes using embedded etcd
- Switch to yaml inventory file for easier editing and combining vars
- Update to full ansible module names
- Change master/node names to server/agent
- Cleanup small linting errors
- Add reboot playbook which staggers reboot to keep HA cluster up
- Move playbooks to playbook directory

Signed-off-by: Derek Nola <derek.nola@suse.com>
2023-11-08 10:23:56 -08:00
Derek Nola 1031ea3ce2 Comply with ansible-lint
Signed-off-by: Derek Nola <derek.nola@suse.com>
2023-11-07 14:00:07 -08:00
Frank Villaro-Dixon b1c8c063f7
k3s download: increase `get_url` timeout 10→120s (#213)
The default `get_url` module timeout is 10s. As the k3s binary is around
60MB, it can take some time to download on slow connections or when many
downloads are concurrent (multi-node install).
Increase the timeout a bit from 10s to 120s.

Signed-off-by: Frank Villaro-Dixon <frank@villaro-dixon.eu>
2023-11-07 09:54:21 -08: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
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
David Putzolu 3911f28d2a Fix image downloading for Raspbian64 2020-05-30 09:54:34 -07:00
Jeff Geerling 70888c8b74 Fixes #22: Set proper file mode using an octal. 2020-05-16 22:27:08 -05:00
Jeff Geerling e47af78bfd Fixes #3: Fix linting issues, add ansible-lint and yamllint configuration. 2020-05-12 16:00:32 -05:00
Marc Tamsky eb664acb6a contrib/ansible: Fixes usage of 'search' in when statements 2019-05-30 02:05:35 -07:00
Vincent RABAH 85b01829fb Ansible provisionning (#217)
Ansible provisionning contrib
2019-04-26 21:10:27 +02:00