diff --git a/awx/serverless_pricing_cheapest.csv b/awx/serverless_pricing_cheapest.csv new file mode 100644 index 0000000..460851b --- /dev/null +++ b/awx/serverless_pricing_cheapest.csv @@ -0,0 +1,4 @@ +Cloud Provider,Cost per CPU-Hour (USD) +AWS,0.03238 +Azure,0.05710 +GCP,0.06480 diff --git a/awx/uptime_app.yaml b/awx/uptime_app.yaml index f80d033..ed42d6a 100644 --- a/awx/uptime_app.yaml +++ b/awx/uptime_app.yaml @@ -23,9 +23,11 @@ # 1. Local Prerequisites # ------------------------------------------------------------- - name: Ensure uptime-kuma-api Python library is installed locally - ansible.builtin.pip: - name: uptime-kuma-api - state: present + ansible.builtin.shell: | + python3 -m pip --version >/dev/null 2>&1 || python3 -m ensurepip --user + python3 -m pip install --user uptime-kuma-api + register: pip_install + changed_when: "'Successfully installed' in pip_install.stdout" # ------------------------------------------------------------- # 2. Allocate Static Public IP (Idempotent)