Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .yamllint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ ignore:
- charts/nautobot-job-queues/templates/
- charts/site-workflows/templates/
- charts/undersync/templates/
- components/neutron/configmap-neutron-bin.yaml

rules:
comments:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,12 @@ spec:
if [ -z "${svc_pass}" ]; then
echo "Empty password supplied, skipping setting the password"
else
openstack user set --password "${svc_pass}" "${SVC_ID}"
echo "Password for ${SVC_ID} was set."
if OS_USERNAME="${SVC_USER}" OS_PASSWORD="${svc_pass}" OS_USER_DOMAIN_NAME=service OS_PROJECT_NAME=automation OS_PROJECT_DOMAIN_NAME=service openstack token issue > /dev/null 2>&1; then
echo "Password for ${SVC_ID} is already correct, skipping update."
else
openstack user set --password "${svc_pass}" "${SVC_ID}"
echo "Password for ${SVC_ID} was set."
fi
fi
set -x
openstack role add --user "${SVC_ID}" --project "${PROJ_ID}" reader
Expand Down
Loading
Loading