forked from inno-devops-labs/S24-core-course-labs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Lab 6 bonus task + crucial bug fixes in app_go
- Loading branch information
Showing
3 changed files
with
22 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
- name: Deploy go app | ||
hosts: all | ||
roles: | ||
- name: "Deploy kolay0ne/app_go:lab6" | ||
role: web_app | ||
image_name: "kolay0ne/app_go" | ||
image_tag: "lab6" | ||
publish_ports: | ||
- "5500:5000" | ||
wipe: false | ||
tags: [] # Run by default | ||
|
||
- name: "Wipe kolay0ne/app_go:lab6" | ||
role: web_app | ||
image_name: "kolay0ne/app_go" | ||
image_tag: "lab6" | ||
wipe: true | ||
tags: [never, wipe] # Only run on wipe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters