Ondřej Ezr
2020-03-11 0dfc026596fbc7cb5d0c73a884b424b523dca7e4
refs
author Ondřej Ezr <oezr@redhat.com>
Wednesday, March 11, 2020 00:13 +0100
committer GitHub <noreply@github.com>
Wednesday, March 11, 2020 00:13 +0100
commit0dfc026596fbc7cb5d0c73a884b424b523dca7e4
tree 97bdc1f96df048defb2b8729397db4689e2a90c3 tree | zip | gz
parent 70782bba2ff827debcd486c1b1e2f3e44d4611ff view | diff
Satellite role - create organization through foreman-ansible-modules (#1289)

* Satellite role - create organization through foreman-ansible-modules

* Install dependencies for test

* Add collection requirements to satellite configs

* in satellite roles, include_role instead of import_role

If a role needs something from galaxy, it must be included dynamically, not imported,
otherwise it's a syntax error.

Indeed, the galaxy roles and collections are imported at runtime.

* Test galaxy roles and collection in syntax-checks.sh

* Support galaxy collections

closes #1282

* Add apipy to test requirements

Co-authored-by: Guillaume Coré <gucore@redhat.com>
3 files added
7 files modified
159 ■■■■ changed files
ansible/configs/satellite-multi-region/requirements.yml 4 ●●●● diff | view | raw | blame | history
ansible/configs/satellite-multi-region/software.yml 52 ●●●●● diff | view | raw | blame | history
ansible/configs/satellite-vm/requirements.yml 4 ●●●● diff | view | raw | blame | history
ansible/configs/satellite-vm/software.yml 42 ●●●●● diff | view | raw | blame | history
ansible/install_galaxy_roles.yml 20 ●●●● diff | view | raw | blame | history
ansible/roles/satellite-manage-organization/README.adoc 14 ●●●●● diff | view | raw | blame | history
ansible/roles/satellite-manage-organization/tasks/main.yml 4 ●●●● diff | view | raw | blame | history
ansible/roles/satellite-manage-organization/tasks/version_6.x.yml 10 ●●●●● diff | view | raw | blame | history
tests/static/requirements.txt 1 ●●●● diff | view | raw | blame | history
tests/static/syntax-check.sh 8 ●●●● diff | view | raw | blame | history