Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy AOPS #81

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
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
3 changes: 3 additions & 0 deletions playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
- "chatgpt"
- "xcuzme"
- "linkding"
- "aops"
ingress:
- hostname: "firefly.{{ lookup('bitwarden', 'homelab/secrets/domain/public/base') }}"
service: http://localhost:8081
Expand Down Expand Up @@ -119,6 +120,8 @@
service: http://localhost:8111
- hostname: "linkding.{{ lookup('bitwarden', 'homelab/secrets/domain/public/base') }}"
service: http://localhost:8112
- hostname: "aops.{{ lookup('bitwarden', 'homelab/secrets/domain/public/base') }}"
service: http://localhost:8113
- service: http_status:404
tags:
- networking
4 changes: 2 additions & 2 deletions roles/launch-orchestrators/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

- name: Download nomad package
get_url:
url: "https://releases.hashicorp.com/nomad/1.3.5/nomad_1.3.5_linux_{{ install_arch }}.zip"
url: "https://releases.hashicorp.com/nomad/1.9.4/nomad_1.9.4_linux_{{ install_arch }}.zip"
dest: "/tmp/"

- name: Install the required apt packages
Expand All @@ -15,7 +15,7 @@

- name: Inflate the package
ansible.builtin.unarchive:
src: "/tmp/nomad_1.3.5_linux_{{ install_arch }}.zip"
src: "/tmp/nomad_1.9.4_linux_{{ install_arch }}.zip"
dest: "/usr/bin"
remote_src: yes

Expand Down
5 changes: 5 additions & 0 deletions templates/Caddyfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -114,3 +114,8 @@
:8112 {
reverse_proxy {{ HostIp }}:9090
}

# aops
:8113 {
reverse_proxy {{ HostIp }}:7444
}
Loading