skip to Main Content

Ubuntu – Can't update properties in Ansible role for Prometheus

I am trying to use Prometheus Role: https://github.com/prometheus-community/ansible I created a playbook - playbook.yaml, with the following content: --- - hosts: prometheus-server become: true roles: - role: prometheus.prometheus.prometheus prometheus_version: "2.43.0" prometheus_config_dir: "/sites/prometheus" prometheus_web_listen_address: "0.0.0.0:9090" prometheus_global: {"evaluation_interval": "1m5s", "scrape_interval": "1m", "scrape_timeout":…

VIEW QUESTION

Debian – How do I import a gnupg public key using only Ansible?

I am using Ansible role DebOps wpcli: https://docs.debops.org/en/stable-3.1/ansible/roles/wpcli/index.html The error is: TASK [debops.debops.wpcli : Verify and install wp-cli binary] ****************** fatal: [webserver]: FAILED! => changed=true cmd: set -o nounset -o pipefail -o errexit && gpg --batch --decrypt --output /usr/local/src/wpcli/wp-cli-2.5.0.phar /usr/local/src/wpcli/wp-cli-2.5.0.phar.gpg…

VIEW QUESTION

Ubuntu – Ansible not loading default dictionary vars

OS: Ubuntu-20.04 Python 3.12.5 ansible-playbook [core 2.17.3] I have a basic ansible structure: . ├── ansible.cfg ├── inventory │ └── myhosts.yml ├── playbooks │ └── main.yml └── roles └── myrole ├── defaults │ └── main.yml └── tasks └── main.yml ansible.cfg:…

VIEW QUESTION
Back To Top
Search