Advertisement
Guest User

VAR spliting

a guest
Nov 12th, 2018
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.93 KB | None | 0 0
  1. BUILDS:
  2.   - name: TEST1
  3.     platform: VM
  4.     tower: yes
  5.     OS: 2019R1
  6.   - name: TEST2
  7.     platform: DELL
  8.     tower: yes
  9.     OS: 2019R1
  10.   - name: TEST3
  11.     platform: AZURE
  12.     tower: yes
  13.     OS: 2019R1
  14.   - name: TEST4
  15.     platform: VM
  16.     tower: yes
  17.     OS: 2016R1
  18.   - name: TEST5
  19.     platform: DELL
  20.     tower: yes
  21.     OS: 2016R1
  22.   - name: TEST6
  23.     platform: AZURE
  24.     tower: yes
  25.     OS: 2016R1
  26.  
  27. Would like to split/filter programatically to sub sets like below
  28.  
  29. DELLBUILDS:
  30.   - name: TEST2
  31.     platform: DELL
  32.     tower: yes
  33.     OS: 2019R1
  34.   - name: TEST5
  35.     platform: DELL
  36.     tower: yes
  37.     OS: 2016R1
  38.  
  39. VMBUILDS:
  40.   - name: TEST1
  41.     platform: VM
  42.     tower: yes
  43.     OS: 2019R1
  44.   - name: TEST4
  45.     platform: VM
  46.     tower: yes
  47.     OS: 2016R1
  48.        
  49. AZUREDEPLOYS:
  50.   - name: TEST3
  51.     platform: AZURE
  52.     tower: yes
  53.     OS: 2019R1
  54.   - name: TEST6
  55.     platform: AZURE
  56.     tower: yes
  57.     OS: 2016R1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement