Add --merge-simple-packages to reduce the number of roles, for packages that have no config files or services to maintain.
This commit is contained in:
parent
a0fbed5ca5
commit
76df10ee92
7 changed files with 164 additions and 15 deletions
11
tests.sh
11
tests.sh
|
|
@ -51,3 +51,14 @@ ansible-lint "${ANSIBLE_DIR}"
|
|||
|
||||
# Run
|
||||
ansible-playbook playbook.yml -i "localhost," -c local --check --diff
|
||||
|
||||
# Common simple packages mode
|
||||
poetry run \
|
||||
enroll manifest \
|
||||
--harvest "${BUNDLE_DIR}2" \
|
||||
--out "${ANSIBLE_DIR}2" \
|
||||
--merge-simple-packages
|
||||
|
||||
builtin cd "${ANSIBLE_DIR}2"
|
||||
ls "${ANSIBLE_DIR}2/roles"
|
||||
ansible-playbook playbook.yml -i "localhost," -c local --check --diff
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue