skip to Main Content

Ansible collection usage – Debian

I am trying to use Ansible Collection for example the nginx one. The directory tree structure looks like this: ├── ansible_collections │   └── nginxinc │   └── nginx_core │   ├── CHANGELOG.md ....... │   ├── README.md │   └── roles │   ├── nginx…

VIEW QUESTION

Modify json using Ansible – CentOS

I have a simple json that looks like this: { "aaa": "true", "bbb": "false", "ccc": "true" } I would like enable 'bbb' value using ansible. Here is my playbook: --- - hosts: "{{hosts}}" remote_user: 'centos' gather_facts: yes become: yes tasks:…

VIEW QUESTION
Back To Top
Search