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

Split up painless.software into separate roles #5

Open
bittner opened this issue May 28, 2019 · 0 comments
Open

Split up painless.software into separate roles #5

bittner opened this issue May 28, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@bittner
Copy link
Member

bittner commented May 28, 2019

Currently, it's difficult to easily configure which software should be installed by the role painless.software.

The easiest, but cumbersome to remember, approach currently is to use tags, as explained in the README.

Splitting up the role into separate roles that are meant to be individually included will make it more straight-forward to configure a setup, e.g.

# FILE: playbook.yml
---
- hosts: foo
  vars:
    - painless_printer_name: samsung-clx7110
  roles:
    - painless.software-desktop
    - painless.software-devices
    - painless.software-virtualization
    - painless.gnome

To ensure that these roles continue to be installed easily with a single command we need to develop a collection (ansible-galaxy collection init), which can contain several roles and can be installed (ansible-galaxy collection install) and included in a playbook almost as easily as a role.

@bittner bittner added the enhancement New feature or request label May 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant