ansible fixes [skip ci]

This commit is contained in:
wh1te909
2023-05-29 07:40:36 +00:00
parent 1ea005ba7e
commit 3e967f58d2
4 changed files with 13 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
--- ---
user: "tactical" user: "tactical"
python_ver: "3.11.3" python_ver: "3.11.3"
go_ver: "1.20.3" go_ver: "1.20.4"
backend_repo: "https://github.com/amidaware/tacticalrmm.git" backend_repo: "https://github.com/amidaware/tacticalrmm.git"
frontend_repo: "https://github.com/amidaware/tacticalrmm-web.git" frontend_repo: "https://github.com/amidaware/tacticalrmm-web.git"
scripts_repo: "https://github.com/amidaware/community-scripts.git" scripts_repo: "https://github.com/amidaware/community-scripts.git"

View File

@@ -1,4 +1,13 @@
--- ---
- name: Append subdomains to hosts
tags: hosts
become: yes
ansible.builtin.lineinfile:
path: /etc/hosts
backrefs: yes
regexp: '^(127\.0\.1\.1 .*)$'
line: "\\1 {{ api }} {{ mesh }} {{ rmm }}"
- name: set mouse mode for vim - name: set mouse mode for vim
tags: vim tags: vim
become: yes become: yes

View File

@@ -2,10 +2,6 @@ SECRET_KEY = "{{ django_secret }}"
DEBUG = True DEBUG = True
ALLOWED_HOSTS = ['{{ api }}'] ALLOWED_HOSTS = ['{{ api }}']
ADMIN_URL = "admin/" ADMIN_URL = "admin/"
CORS_ORIGIN_WHITELIST = [
"http://{{ rmm }}:8080",
"https://{{ rmm }}:8080",
]
CORS_ORIGIN_ALLOW_ALL = True CORS_ORIGIN_ALLOW_ALL = True
DATABASES = { DATABASES = {
'default': { 'default': {
@@ -19,7 +15,7 @@ DATABASES = {
} }
REDIS_HOST = "localhost" REDIS_HOST = "localhost"
ADMIN_ENABLED = True ADMIN_ENABLED = True
CERT_FILE = "{{ fullchain_src }}" CERT_FILE = "{{ fullchain_dest }}"
KEY_FILE = "{{ privkey_src }}" KEY_FILE = "{{ privkey_dest }}"
MESH_USERNAME = "{{ mesh_user }}" MESH_USERNAME = "{{ mesh_user }}"
MESH_SITE = "https://{{ mesh }}" MESH_SITE = "https://{{ mesh }}"

View File

@@ -1,4 +1,4 @@
DEV_URL = "http://{{ api }}:8000" DEV_URL = "http://{{ api }}:8000"
DEV_HOST = "{{ rmm }}" DEV_HOST = "0.0.0.0"
DEV_PORT = "8080" DEV_PORT = "8080"
USE_HTTPS = false USE_HTTPS = false