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

chore(ansible): fix branch #4

Merged
merged 1 commit into from
Sep 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
@@ -1,5 +1,5 @@
---
- name: Disable unused redis container

Check failure on line 2 in ansible/roles/vm_frontend/tasks/main.yml

View workflow job for this annotation

GitHub Actions / ansible

syntax-check[specific]

couldn't resolve module/action 'community.docker.docker_container'. This often indicates a misspelling, missing collection, or incorrect module path.
community.docker.docker_container:
name: redis
state: absent
Expand Down 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
Loading