Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/refactor playbook into using roles #4

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

adarhetz
Copy link
Contributor

@adarhetz adarhetz commented Aug 3, 2023

This moves the setup of the components:

  • nodejs
  • ruby
  • dockerce
  • jekyll
  • repo cloning
    into seperate roles.

They remain togglable via the 'install_*' variables if present.

Also jekyll can now be toggled explicitly via variable 'install_jekyll' otherwise the previous behavior remains.
Also replo cloning can now be toggled explicitly via variable 'install_clone_repo_single' otherwise the previous behavior remains.

Also additional non versioned roles can now be added and will automatically be picked up unless 'install_{ROLEDIR}: false' (For details see the first commit.

* Role will be run if it is situated under the roles folder, unless a variable 'install_{ROLE-FOLDER-NAME}: false' is found
* Role folders may optionally be prefixed with '{NUMBER}_' to enforce ordering, this part is ignored when searching for a toogle variable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant