Initial awx installer

This commit is contained in:
Matthew Jones
2017-08-15 21:42:18 -04:00
committed by Matthew Jones
parent de2aa2792a
commit d39c70d9f2
16 changed files with 312 additions and 57 deletions

View File

@@ -0,0 +1,8 @@
#!/usr/bin/env bash
if [ `id -u` -ge 10000 ]; 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