Add custom patch role scenario to 'application' role 52/89252/3
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>
Wed, 5 Jun 2019 07:32:29 +0000 (09:32 +0200)
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>
Wed, 5 Jun 2019 07:44:18 +0000 (09:44 +0200)
commit464ac374b9c38d3cb2e1910853b4a890bbacf35c
tree1a88dbd792b9d6e15080ea039a763cb744f90da5
parentdf7d7cc1294c6ea1fcab2ed4ac2ee7c375b29651
Add custom patch role scenario to 'application' role

This adds test case for when application_pre_install_role
and application_post_install_role are set to custom role;
by default they are empty.

Code condition coverage is increased.

Change-Id: I14e59e15cf3ead0459374b5777f8ee03fe75d7bd
Issue-ID: OOM-1910
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
ansible/roles/application/molecule/custom_role/Dockerfile.j2 [new symlink]
ansible/roles/application/molecule/custom_role/molecule.yml [new file with mode: 0644]
ansible/roles/application/molecule/custom_role/tests [new symlink]
ansible/roles/application/molecule/default/molecule.yml
ansible/test/roles/prepare-application/defaults/main.yml
ansible/test/roles/prepare-application/tasks/main.yml