Skip to content

Check if ruby is installed #3

@lasseebert

Description

@lasseebert

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions