@@ -8,58 +8,54 @@ implements some extra, well maintained, Ansible Roles made by 3rd party.
8
8
Check the [ ASCIInema demo] ( #asciinema-demo ) .
9
9
10
10
> ** About using this playbooks in production** : At very minimum, you will need to
11
- customize the inventory (on this version, the [ hosts.yml] ( hosts.yml ) ). But
12
- in special for who is new to Ansible and want reusability, consider the
13
- [ fititnt/ansible-linux-ha-cluster] ( https://github.com/fititnt/ansible-linux-ha-cluster )
14
- with the following in mind:
15
-
16
- > - This is a playbooks colletion great quickstart on _ how to glue_ some selected
17
- reusable Ansible Roles on your own private projects.
18
- - Some versions of this repository may be used to test more extreme cases of
19
- cross-platform cluster than you would like to have in production
20
- - Example: while would be possible to implement a cross-platform Galera Cluster
21
- for MariaDB/MySQL with true master-master replication using one node with
22
- RHEL 7, another with OpenSUSE 15 and the last one with Debian 10, this may
23
- require more work to debug from you.
24
- - Some playbooks, like the [ infra-wireguard.yml] ( infra-wireguard.yml ) are
25
- intentionally separated both to be used alone and also to allow replacement.
26
- - If you already have a VPN (via your cloud provider) or want some more
27
- classic VPN solution, like IPSec, do it!
11
+ > customize the inventory (on this version, the [ hosts.yml] ( hosts.yml ) ). But
12
+ > in special for who is new to Ansible and want reusability, consider the
13
+ > [ fititnt/ansible-linux-ha-cluster] ( https://github.com/fititnt/ansible-linux-ha-cluster )
14
+ > with the following in mind:
15
+ >
16
+ > - This is a playbooks colletion great quickstart on _ how to glue_ some selected
17
+ > reusable Ansible Roles on your own private projects.
18
+ > - While the ansible-linux-ha-cluster may demonstrate cross-platform clusters
19
+ > working together, using this on production may require some extra work than
20
+ > you would have if choose less underlining operational systems.
21
+ > - Some playbooks, like the [ infra-wireguard.yml] ( infra-wireguard.yml ) are
22
+ > intentionally separated both to be used alone and also to allow replacement.
23
+ > If you already have a VPN (via your cloud provider) you may want to
24
+ > comment/remove this playbook. Enterprise users without one VPN may want some
25
+ > more classic VPN solution, like IPSec.
28
26
29
27
## ASCIInema demo
30
28
31
29
_ TODO: stop to record a ASCIInema of the cross-platform cluster fully automated from scratch (fititnt, 2019-12-15 13:07)_ .
32
30
33
- <!--
34
- Demo:
35
-
36
- asciinema rec ap-alb-demo-004 --idle-time-limit 5 --title "ap-alb-demo (AP-ALB v0.6.4-beta)"
37
-
38
- cat hosts && sleep 4 && cat main.yml && sleep 4 && cat apps-server.yml && sleep 4 && cat db-server.yml && sleep 4 && cat group_vars/all.yml && sleep 6 && cat group_vars/apps_servers.yml && sleep 6 && cat group_vars/apps_servers.yml
31
+ [ ![ asciicast] ( https://asciinema.org/a/288305.svg )] ( https://asciinema.org/a/288305 )
39
32
40
- ansible-playbook -i hosts main.yml
33
+ When reading the source codes or watching the ASCIInema demos, the
34
+ sufix of hosts give a hint. So ` rocha_basalto_freebsd12 ` means FreeBSD version
35
+ 12, ` ap_foxtrot_debian10 ` means Debian 10, etc. For the role versions, check
36
+ [ requirements.yml] ( requirements.yml ) file.
41
37
38
+ <!--
39
+ Demo:
42
40
43
- Em caso de falha:
44
- ansible-playbook -i hosts main.yml --start-at-task="ALB/UFW clusterfuck-pre-check.yml"
45
- ansible-playbook -i hosts main.yml --start-at-task="Configure the kernel to keep connections alive when enabling the firewall"
46
-
47
- Debug
41
+ asciinema rec ansible-linux-ha-cluster-001 --idle-time-limit 5 --title "ansible-linux-ha-cluster-001 (AP-ALB v0.8-5-alpha)"
48
42
49
- ansible-playbook ad-hoc/info/show-ufw-status .yml -i hosts.yml
43
+ cat main-infra.yml && sleep 4 && cat infra-wireguard.yml && sleep 4 && cat infra-consul .yml && sleep 4 && cat infra-alb.yml && sleep 4 && cat group_vars/all.yml && sleep 6 && cat hosts.yml
50
44
51
- The **ansible-linux-ha-cluster** does not have one ASCIInema demonstration... yet.
52
- The following is from [ap-alb-demo](https://github.com/fititnt/ap-alb-demo).
45
+ ansible-playbook -i hosts.yml main-infra.yml
53
46
54
- [](https://asciinema.org/a/281411)
47
+ asciinema upload ansible-linux-ha-cluster-001
55
48
56
49
-->
57
50
58
51
---
59
52
53
+ ## Table of Contents
54
+
60
55
<!-- TOC depthFrom:2 -->
61
56
62
57
- [ ASCIInema demo] ( #asciinema-demo )
58
+ - [ Table of Contents] ( #table-of-contents )
63
59
- [ Usage] ( #usage )
64
60
- [ How to download this ansible-linux-ha-cluster to your machine] ( #how-to-download-this-ansible-linux-ha-cluster-to-your-machine )
65
61
- [ How to customize and use] ( #how-to-customize-and-use )
@@ -244,9 +240,26 @@ For who think this comment is strange, the cheapests VPSs from places like
244
240
< https://www.serverhunter.com/ > are paid by year and does not have IPv4.
245
241
246
242
### Operatinal System of the cluster nodes
247
- The ansible-linux-ha-cluster is tested mainly on Debian based distros (Ubuntu
248
- 18.04 LTS). Some underline Roles already support other OSs. AP-ALB maybe will
249
- have support for RHEL/CentOS 8.
243
+ The ansible-linux-ha-cluster was tested on several linux distributions and
244
+ versions. For the role AP-ALB, some OSs may not implement all the features.
245
+ Other roles made by 3rd party are not enabled when they did not support one OS.
246
+
247
+ - ** Operational System (full AP-ALB features)** :
248
+ - ** Debian Family**
249
+ - Debian 10
250
+ - Ubuntu Server LTS 18.04
251
+ - ** RedHat Family**
252
+ - CentOS 8, CentOS 7
253
+ - RHEL 8, RHEL 7
254
+ - ** Tested(require extra steps, like compiling OpenResty, to implement all AP-ALB features)**
255
+ - ** Arch Linux** : _ lastest_
256
+ - ** BSD Family** : _ FreeBSD 12_
257
+ - ** SUSE Family** : _ OpenSUSE 15_
258
+
259
+ When reading the source codes or watching the ASCIInema demos, the
260
+ sufix of hosts give a hint. So ` rocha_basalto_freebsd12 ` means FreeBSD version
261
+ 12, ` ap_foxtrot_debian10 ` means Debian 10, etc. For the role versions, check
262
+ [ requirements.yml] ( requirements.yml ) file.
250
263
251
264
## License
252
265
[ ![ Public Domain] ( https://i.creativecommons.org/p/zero/1.0/88x31.png )] ( UNLICENSE )
0 commit comments