Project

General

Profile

Actions

Fix #12349

open

revisit packages/common_packages

Added by Dan Mick almost 9 years ago. Updated over 8 years ago.

Status:
Need More Info
Priority:
Normal
Assignee:
Category:
ansible
% Done:

0%

Source:
Development
Tags:
Backport:
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

Description

While reviewing docs for/trying to understand packages vs common_packages, I wondered if it would not be possible to use the same var name, "packages", at various levels of the tree, and have the more-specific levels do a list append; that way, each level defines which packages it knows to be necessary without the artificial split between "high-level" in common_packages and "low level" in packages (and the implication that there are only two levels of owners of package lists).

Something like "packages: {{packages|list}} + {{additional_packages|list}}"
was suggested. It's not clear if Ansible allows the RHS to refer to the prior value of a variable in order to reassign it to the LHS.

Actions

Also available in: Atom PDF