skip to Main Content

When usage with Ansible Handlers – Mysql

having an ansible playbook that will run on all hosts including Debian based & RedHat based servers this will install mariadb on RHEL based servers only doing some configuration changes, start the service once the service started handlers are used…

VIEW QUESTION

Modify .json file using Anisble

My file structure is like below [root@test exim]# cat exim.json { "general": { "max_hourly_email": 0, "max_notify_email": 0, "enable_mail_retry": "1", "mail_retry": 15, "enable_roundcube": "1", "default_quota_val": 32768, "default_quota": "1", "eximmailtrap": "1", "no_local_emailing": "0", "dkim_selector": "x", "disable_ipv6": "0", "custom_mailips": "0", "message_linelength_limit": 2048 I…

VIEW QUESTION

Json – Ansible loop with array

Could someone let me know how we can create a code as below? - name: TEST1 set_fact: list_a: "{{ list_a + [item.json.SearchResult.resources] }}" with_items: - "{{ source_list.results[0] }}" - "{{ source_list.results[1] }}" - "{{ source_list.results[x] }}" ... (unknown how many…

VIEW QUESTION
Back To Top
Search