Skip to content
This repository has been archived by the owner on Sep 28, 2024. It is now read-only.

Commit

Permalink
Merge pull request #4 from blinklabs-io/chore/ansible-fix-branch
Browse files Browse the repository at this point in the history
chore(ansible): fix branch
  • Loading branch information
wolf31o2 authored Sep 16, 2023
2 parents 4ecd0b0 + 8033f32 commit 8c7f87e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@
# Access token for the Vending Machine API (required)
#VM_API_TOKEN="CHANGEME"

# Git branch to track and Docker image tag (default: master)
#VM_BRANCH=master
# Git branch to track and Docker image tag (default: main)
#VM_BRANCH=main

# Docker image tag (default: value of VM_BRANCH)
#VM_IMAGE_TAG=master
#VM_IMAGE_TAG=main

# Port to run image under (default: 3000)
#VM_PORT=3000
Expand Down
2 changes: 1 addition & 1 deletion ansible/roles/vm_frontend/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
job: '/bin/sleep {{ 300 | random }}; {{ REPO }}/runme.sh > {{ REPO }}/logs/run-ansible.log 2>&1'
minute: '2,17,32,47'
hour: '*'
when: vm_frontend_version == 'master'
when: vm_frontend_version == 'main'

- name: Set net.core.rmem_max
ansible.posix.sysctl:
Expand Down
2 changes: 1 addition & 1 deletion runme.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

__repo=$(cd $(dirname ${BASH_SOURCE[0]}); pwd -P)

VM_BRANCH=${VM_BRANCH:-master}
VM_BRANCH=${VM_BRANCH:-main}

###
# Check for .env
Expand Down

0 comments on commit 8c7f87e

Please sign in to comment.