nuagenetworks / nuage-metroae

Nuage Networks Metro Automation Engine
http://devops.nuagenetworks.net
Apache License 2.0
44 stars 17 forks source link

Changes done to remove [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. #1977

Closed kandarp-nokia closed 1 year ago

kandarp-nokia commented 1 year ago

Before


      - nuh_sa_or_ha is match('ha') 
      - inventory_hostname ==  "{{ groups['nuh_first_node'][0] }}" ```
``` when:
      - nuh_sa_or_ha is match('ha') 
      - inventory_hostname ==  "{{ groups['nuh_second_node'][0] }}" ```

**After**  

``` when:
      - nuh_sa_or_ha is match('ha')
      - inventory_hostname == groups['nuh_first_node'][0] #Change ``` 
``` when:
      - nuh_sa_or_ha is match('ha')
      - inventory_hostname == groups['nuh_second_node'][0] #Change ```  

http://10.129.37.76:8080/job/kandarp/job/INSTALL-GCP-HA-COPY-NEW/25/
http://10.129.37.76:8080/job/kandarp/job/INSTALL_GCP_SA_K/56/
http://10.129.37.76:8080/job/kandarp/job/UPGRADE-GCP-HA-COPY-K/13/
http://10.129.37.76:8080/job/kandarp/job/UPGRADE-GCP-SA-COPY-K/11/
kandarp-nokia commented 1 year ago

Release Notes:

Changes done to remove following warning.

"[WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}."

Files that changed:

  1. main.yml
  2. nuh_copy_certificates.yml
  3. openstack.yml

Changes done: