Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ansible-scylla-node: Remove run_once from io_properties block
Assuming `scylla_io_probe == true`, this `run_once` had the following logic: * If `scylla_io_probe_dc_aware` was false, the block would run only once and copy the io_properties from the first node to all the others * If it was true the block would run for all the hosts and every node would measure its own io_properties However, having `scylla_io_probe_dc_aware` set to false means that we don't know if the nodes configuration will be the same, meaning that we'd rather measure io_properties per node than copy it from the first node. This PR fixes this problem by removing the `run_once`. Now, we'll only copy io_properties to other nodes in the following scenarios: * if both, `scylla_io_probe` and `scylla_io_probe_dc_aware` are set to `true`, then we copy the io_properties from the first node of each DC to all the others of the same DC. * if io_properties is explicitly set via ansible params, its value will be copied to the nodes of all DCs.
- Loading branch information