Skip to content

Commit

Permalink
Update install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
MrDoobPG authored and MrDoobPG committed Dec 27, 2019
1 parent 5cf448c commit 4b546b2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions menu/functions/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -251,19 +251,19 @@ portainer() {
# Roles Ensure that PG Replicates and has once if missing; important for startup, cron and etc
pgcore() {
file="${abc}/new.install"
if [[ ! -e "$file" ]]; then
if [[ -e "$file" ]]; then
ansible-playbook /opt/plexguide/menu/pgbox/core/core.yml
fi
}
pgcommunity() {
file="${abc}/new.install"
if [[ ! -e "$file" ]]; then
if [[ -e "$file" ]]; then
ansible-playbook /opt/plexguide/menu/pgbox/community/community.yml
fi
}
pgshield() {
file="${abc}/new.install"
if [[ ! -e "$file" ]]; then
if [[ -e "$file" ]]; then
echo 'pgshield' >/var/plexguide/pgcloner.rolename
echo 'PTS-Shield' >${abc}/pgcloner.roleproper
echo 'PTS-Shield' >${abc}/pgcloner.projectname
Expand All @@ -275,14 +275,14 @@ fi

pythonstart() {
file="${abc}/new.install"
if [[ ! -e "$file" ]]; then
if [[ -e "$file" ]]; then
bash /opt/plexguide/menu/roles/pythonstart/pyansible.sh
fi
}

dockerinstall() {
file="${abc}/new.install"
if [[ ! -e "$file" ]]; then
if [[ -e "$file" ]]; then
ansible-playbook /opt/plexguide/menu/pg.yml --tags docker
fi
}
Expand Down

0 comments on commit 4b546b2

Please sign in to comment.