diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 06:48:59 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 06:48:59 +0000 |
commit | d835b2cae8abc71958b69362162e6a70c3d7ef63 (patch) | |
tree | 81052e3d2ce3e1bcda085f73d925e9d6257dec15 /test/unittests/scripts/legacy/main.yml | |
parent | Initial commit. (diff) | |
download | crmsh-d835b2cae8abc71958b69362162e6a70c3d7ef63.tar.xz crmsh-d835b2cae8abc71958b69362162e6a70c3d7ef63.zip |
Adding upstream version 4.6.0.upstream/4.6.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | test/unittests/scripts/legacy/main.yml | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/test/unittests/scripts/legacy/main.yml b/test/unittests/scripts/legacy/main.yml new file mode 100644 index 0000000..ef5d35b --- /dev/null +++ b/test/unittests/scripts/legacy/main.yml @@ -0,0 +1,52 @@ +--- +- name: Initialize a new cluster + description: > + Initializes a new cluster on the nodes provided. Will try to + configure SSH if not already configured, and install missing + packages. + + A more user-friendly interface to this script is provided by the + cluster init command. + parameters: + - name: iface + description: "Use the given interface. Try to auto-detect interface by default." + default: "" + + - name: transport + description: "Corosync transport (mcast or udpu)" + default: "udpu" + + - name: bindnetaddr + description: "Network address to bind to (e.g.: 192.168.1.0)" + default: "" + + - name: mcastaddr + description: "Multicast address (e.g.: 239.x.x.x)" + default: "" + + - name: mcastport + description: "Multicast port" + default: 5405 + + steps: + - name: Configure SSH + apply_local: configure.py ssh + + - name: Check state of nodes + collect: collect.py + + - name: Verify parameters + validate: verify.py + + - name: Install packages + apply: configure.py install + + - name: Generate corosync authkey + apply_local: authkey.py + + - name: Configure cluster nodes + apply: configure.py corosync + + - name: Initialize cluster + apply_local: init.py + |