X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fpackaging%2Ftest-ansible-rpm-default-config.sh;h=8d352a80b3d5e61cc65a306a04bfe28c45184f7f;hb=cd84a5a646dd2a64785e1b6ddd435db53695f26f;hp=65f5b4be7a31b2094cf4921f4b343f4cf805bcc9;hpb=4b3a802a81dc08812a2dab0f1b6ab6ebe34fa1e8;p=releng%2Fbuilder.git diff --git a/jjb/packaging/test-ansible-rpm-default-config.sh b/jjb/packaging/test-ansible-rpm-default-config.sh index 65f5b4be7..8d352a80b 100644 --- a/jjb/packaging/test-ansible-rpm-default-config.sh +++ b/jjb/packaging/test-ansible-rpm-default-config.sh @@ -7,16 +7,16 @@ sudo yum remove opendaylight -y sudo rm -rf /opt/opendaylight # Install OpenDaylight with custom config via repo using example Ansible playbook -sudo ansible-playbook -i "localhost," -c local $WORKSPACE/ansible/examples/rpm_10_devel_odl_api.yml +sudo ansible-playbook -i "localhost," -c local $WORKSPACE/packaging-ansible/examples/rpm_10_devel_odl_api.yml # Create Ansible custom module directories sudo mkdir -p /usr/share/ansible/plugins/modules # Copy the custom module to the directory above -sudo cp $WORKSPACE/ansible/library/odl_usermod.py /usr/share/ansible/plugins/modules/ +sudo cp $WORKSPACE/packaging-ansible/library/odl_usermod.py /usr/share/ansible/plugins/modules/ # Execute the odl-user-test playbook -sudo ansible-playbook -i "localhost," -c local $WORKSPACE/ansible/tests/test-odl-users.yaml -v +sudo ansible-playbook -i "localhost," -c local $WORKSPACE/packaging-ansible/tests/test-odl-users.yaml -v # Test the custom log configurations -sudo ansible-playbook -i "localhost," -c local $WORKSPACE/ansible/tests/test-odl-logs.yaml -e test_log_level=INFO -e test_log_mechanism=file -v +sudo ansible-playbook -i "localhost," -c local $WORKSPACE/packaging-ansible/tests/test-odl-logs.yaml -e test_log_level=INFO -e test_log_mechanism=file -v