skip to Main Content

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

merge 2 json arrays using ansible or jq

So I have 2 json array files one with some simple data (could be any number of servers): [ { "playbook": "simplerun.yml", "server": "abc", "status": "success" }, { "playbook": "simplerun.yml", "server": "def", "status": "success" } etc ] and a master…

VIEW QUESTION
Back To Top
Search