skip to Main Content

Filter json query complex nested list

I have the following: { "additionalInfo": [], "id": "8d929134-0c71-48d9-baba-28fb5eab92f2", "instanceTenantId": "62f4c8ab6a041c1c090f7994", "name": "Global", "siteHierarchy": "8d929134-0c71-48d9-baba-28fb5eab92f2", "siteNameHierarchy": "Global" }, { "additionalInfo": [ { "attributes": { "addressInheritedFrom": "0d5e4dc7-ce4e-4aff-bf9f-bb8242797dce", "type": "area" }, "nameSpace": "Location" } ], "id": "1720c283-a903-43f9-996e-a25d63409d69", "instanceTenantId": "62f4c8ab6a041c1c090f7994", "name": "SOUTH SOUTH",…

VIEW QUESTION

How to run ansible with aws dynamic inventory directly via GitHub Actions on ubuntu-latest?

I've tryied with the following steps: configured workflow in GitHub action: name: Terraform-ansible-apply on: workflow_dispatch: jobs: Terraform: name: Terraform Plan & Apply runs-on: ubuntu-latest env: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} steps: - name: Checkout Repo uses: actions/checkout@v2…

VIEW QUESTION

Can Nginx & ansible-playbook use jinja2 for hosts?

ansible-playbook hosts can not use jinja2 for matching more hosts when i need to install more same service in one host in test env, i write a group like this [nginx] demo-region-nginx-1:22 ansible_ssh_host=10.0.0.1 port=80 demo-region-nginx-2:22 ansible_ssh_host=10.0.0.1 port=81 demo-region-nginx-3:22 ansible_ssh_host=10.0.0.1 port=82…

VIEW QUESTION
Back To Top
Search