diff --git a/app/routes/checker/routes.py b/app/routes/checker/routes.py index ce343049..98e884eb 100644 --- a/app/routes/checker/routes.py +++ b/app/routes/checker/routes.py @@ -47,6 +47,7 @@ def update_settings(): @bp.route('/settings/load') +@get_user_params() def load_checker(): return checker_mod.load_checker() diff --git a/app/routes/smon/routes.py b/app/routes/smon/routes.py index 8220224d..83f7c4b9 100644 --- a/app/routes/smon/routes.py +++ b/app/routes/smon/routes.py @@ -1,4 +1,5 @@ import json + from flask import render_template, request, jsonify, g from flask_login import login_required from datetime import datetime diff --git a/config_other/requirements_deb.txt b/config_other/requirements_deb.txt index be81ea25..fce3cb39 100644 --- a/config_other/requirements_deb.txt +++ b/config_other/requirements_deb.txt @@ -16,4 +16,5 @@ python3-nmap<=1.5.1 aio-pika>=7.1.0 pika>=1.2.0 websockets>=9.0 +ansible-core>=2.11.12 ansible-runner==2.3.2 diff --git a/config_other/requirements_el7.txt b/config_other/requirements_el7.txt index 4488015f..a984f4d2 100644 --- a/config_other/requirements_el7.txt +++ b/config_other/requirements_el7.txt @@ -17,4 +17,5 @@ python3-nmap<=1.5.1 aio-pika>=7.1.0 pika>=1.2.0 websockets>=9.0 +ansible-core>=2.11.12 ansible-runner==2.3.1 diff --git a/config_other/requirements_el8.txt b/config_other/requirements_el8.txt index a332f889..624066fb 100644 --- a/config_other/requirements_el8.txt +++ b/config_other/requirements_el8.txt @@ -18,4 +18,5 @@ python3-nmap<=1.5.1 aio-pika>=7.1.0 pika>=1.2.0 websockets>=9.0 +ansible-core>=2.11.12 ansible-runner==2.3.1 diff --git a/config_other/requirements_el9.txt b/config_other/requirements_el9.txt index 36b19b4f..55d7fdb3 100644 --- a/config_other/requirements_el9.txt +++ b/config_other/requirements_el9.txt @@ -18,4 +18,5 @@ aio-pika>=7.1.0 pika>=1.2.0 websockets>=9.0 tzlocal==2.0.0 +ansible-core>=2.11.12 ansible-runner==2.3.1 diff --git a/requirements.txt b/requirements.txt index ecd03fbe..3316e797 100644 --- a/requirements.txt +++ b/requirements.txt @@ -21,4 +21,5 @@ Flask==2.2.5 Flask-Login==0.6.2 Flask-APScheduler==1.13.0 Flask-Caching==2.1.0 +ansible-core>=2.11.12 ansible-runner==2.3.1