Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:ALP:Workloads
ansible-container
_service:obs_scm:ansible-wrapper.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:ansible-wrapper.sh of Package ansible-container
#! /bin/sh PATH=/sbin:/usr/sbin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin IMAGE=registry.opensuse.org/suse/alp/workloads/tumbleweed_containerfiles/suse/alp/workloads/ansible:latest for cnf in /etc/default/ansible-container ~/.config/ansible-container/image do if [ -r ${cnf} ]; then . ${cnf} fi done KEED_USERID="" if [[ $(id -ru) != "0" ]]; then KEED_USERID="--userns=keep-id" fi # make symlinks for mount points # this needed to hand colons in file path names LINK_DIR=`mktemp -d -p /tmp` ln -s $(pwd) ${LINK_DIR}/work ln -s ${HOME} ${LINK_DIR}/home podman run --security-opt label=disable -it -v ${LINK_DIR}/work:/work -v ${LINK_DIR}/home:${HOME} ${KEED_USERID} --rm ${IMAGE} "$(basename "${0}")" "$@" # clean up symlink area rm ${LINK_DIR}/work ${LINK_DIR}/home rmdir ${LINK_DIR}
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor