Uploaded image for project: 'ONAP Operations Manager'
  1. ONAP Operations Manager
  2. OOM-1887

Replacing deprecated with_items in ansible

XMLWordPrintable

      this pattern is used in couple of files:

      ansible/roles/application/tasks/transfer-helm-charts.yml

      ansible/roles/resource-data/tasks/unarchive-resource.yml

      ansible/roles/resource-data/tasks/unarchive-resource.yml

      patches/onap-dublin-patch-role/tasks/main.yml

       

      but since 2.5 ansible it's deprecated (we are on 2.7.8 )

      https://docs.ansible.com/ansible/latest/user_guide/playbooks_loops.html#migrating-from-with-x-to-loop

      l

      oops can be optimized accordingly

       

       

            bgrzybowski bgrzybowski
            michal.ptacek michal.ptacek
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: