Ruby-common still runs some of the tasks even if the correct ruby version is installed.
The tasks that are run when correct ruby version is already installed:
- apt install prerequisite
- apt install dependencies
- Download ruby source
- Generate rake and gc scripts
- Symlinks
This does not change anything, but takes some amount of time to complete. Should this be avoided with a check on ruby -v?
I'm new to ansible and I'm not sure if this check should be performed by the role or by the playbook that calls the role. Or not at all?
Ruby-common still runs some of the tasks even if the correct ruby version is installed.
The tasks that are run when correct ruby version is already installed:
This does not change anything, but takes some amount of time to complete. Should this be avoided with a check on
ruby -v?I'm new to ansible and I'm not sure if this check should be performed by the role or by the playbook that calls the role. Or not at all?