X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fpackaging%2Ftest-ansible-rpm-custom-config.sh;h=a671fffb09bf42ee5e671dd7458febf7972dcfd3;hb=807fca79b9cbd070495690797e1b0cc019caf5f9;hp=07a8c17d00f8326d95e6b52ce26f925cfc40aaf6;hpb=ed0e7cc5072ed37372a73bd952f0fc566fb739f7;p=releng%2Fbuilder.git diff --git a/jjb/packaging/test-ansible-rpm-custom-config.sh b/jjb/packaging/test-ansible-rpm-custom-config.sh index 07a8c17d0..a671fffb0 100644 --- a/jjb/packaging/test-ansible-rpm-custom-config.sh +++ b/jjb/packaging/test-ansible-rpm-custom-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_8_devel_odl_api.yml --extra-vars "@$WORKSPACE/ansible/examples/log_vars.json" +sudo ansible-playbook -i "localhost," -c local $WORKSPACE/packaging-ansible/examples/rpm_10_devel_odl_api.yml --extra-vars "@$WORKSPACE/packaging-ansible/examples/log_vars.json" # 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=DEBUG -e test_log_mechanism=console -v +#sudo ansible-playbook -i "localhost," -c local $WORKSPACE/packaging-ansible/tests/test-odl-logs.yaml -e test_log_level=DEBUG -e test_log_mechanism=console -v