mirror of
https://github.com/ansible/awx.git
synced 2026-05-23 08:37:48 -02:30
Move installer roles into roles directory
Signed-off-by: Shane McDonald <me@shanemcd.com>
This commit is contained in:
8
installer/roles/image_build/files/launch_awx.sh
Executable file
8
installer/roles/image_build/files/launch_awx.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
if [ `id -u` -ge 500 ]; then
|
||||
echo "awx:x:`id -u`:`id -g`:,,,:/var/lib/awx:/bin/bash" >> /tmp/passwd
|
||||
cat /tmp/passwd > /etc/passwd
|
||||
rm /tmp/passwd
|
||||
fi
|
||||
awx-manage collectstatic --noinput --clear
|
||||
supervisord -c /supervisor.conf
|
||||
Reference in New Issue
Block a user