Test single-node cluster (#78)

* Molecule: Derive overrides.yml location from scenario dir

# Conflicts:
#	molecule/default/molecule.yml
#	molecule/ipv6/molecule.yml

* Molecule: Add single_node scenario

* Fix get_nodes test for the case of empty groups
This commit is contained in:
Simon Leiner
2022-09-09 18:47:26 +02:00
committed by GitHub
parent b1df9663fa
commit 9ff3bb6b87
8 changed files with 80 additions and 8 deletions

View File

@@ -8,6 +8,8 @@ We have these scenarios:
- **default**:
A 3 control + 2 worker node cluster based very closely on the [sample inventory](../inventory/sample/).
- **single_node**:
Very similar to the default scenario, but uses only a single node for all cluster functionality.
## How to execute
@@ -29,7 +31,7 @@ Furthermore, the test cluster uses the `192.168.30.0/24` subnet which is [not se
To set the subnet up for use with VirtualBox, please make sure that `/etc/vbox/networks.conf` exists and that it contains this line:
```
* 192.168.30.0/24`
* 192.168.30.0/24
```
### Install Python dependencies