Skip to content
This repository was archived by the owner on Jan 24, 2018. It is now read-only.
This repository was archived by the owner on Jan 24, 2018. It is now read-only.

Proposal: Breaking out roles and leveraging galaxy features #39

@mattrasband

Description

@mattrasband

Many of us contribute to these roles and need to duplicate the effort for usage in our own projects, which causes some possible fatigue.

I'd like to propose we break out the roles into their own repositories (under pyslackers). We could then create a repo pyslackers/playbooks that leverages ansible-galaxy's requirements.yaml feature.

The current breakdown appears to be:

  • common -> pyslackers/ansible-role-common
  • nginx -> pyslackers/ansible-role-nginx
  • pythonapp -> pyslackers/ansible-role-pythonapp
  • system_service -> pyslackers/ansible-role-system_service

Benefits:

  • independently testable
  • sharable to pyslackers and community members
  • versioned independently
  • generatable (ansible-galaxy init <nam>)

Drawbacks:

  • adds one more step for usage (ansible-galaxy install -r requirements.yml && ansible-playbook website.yml)

An issue that @ovv commented on, and I agree with, when using public galaxy roles - is that we don't control them. This allows us to get both-and.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions