Only use ports in the range 9001-9060.

(cherry picked from commit 77f7e5a986)
pull/54037/head
Felix Fontein 6 years ago committed by Toshio Kuratomi
parent d8a75faa53
commit 1cd21e2f50

@ -1109,8 +1109,8 @@
name: "{{ cname }}" name: "{{ cname }}"
state: started state: started
exposed_ports: exposed_ports:
- "1234" - "9001"
- "5678" - "9002"
register: exposed_ports_1 register: exposed_ports_1
- name: exposed_ports (idempotency) - name: exposed_ports (idempotency)
@ -1120,8 +1120,8 @@
name: "{{ cname }}" name: "{{ cname }}"
state: started state: started
exposed_ports: exposed_ports:
- "5678" - "9002"
- "1234" - "9001"
register: exposed_ports_2 register: exposed_ports_2
- name: exposed_ports (less ports) - name: exposed_ports (less ports)
@ -1131,7 +1131,7 @@
name: "{{ cname }}" name: "{{ cname }}"
state: started state: started
exposed_ports: exposed_ports:
- "1234" - "9002"
register: exposed_ports_3 register: exposed_ports_3
- name: exposed_ports (more ports) - name: exposed_ports (more ports)
@ -1141,8 +1141,8 @@
name: "{{ cname }}" name: "{{ cname }}"
state: started state: started
exposed_ports: exposed_ports:
- "1234" - "9002"
- "1235" - "9003"
stop_timeout: 1 stop_timeout: 1
register: exposed_ports_4 register: exposed_ports_4
@ -2476,8 +2476,8 @@
name: "{{ cname }}" name: "{{ cname }}"
state: started state: started
published_ports: published_ports:
- 1234 - 9001
- 5678 - 9002
register: published_ports_1 register: published_ports_1
- name: published_ports (idempotency) - name: published_ports (idempotency)
@ -2487,8 +2487,8 @@
name: "{{ cname }}" name: "{{ cname }}"
state: started state: started
published_ports: published_ports:
- 5678 - 9002
- 1234 - 9001
register: published_ports_2 register: published_ports_2
- name: published_ports (less published_ports) - name: published_ports (less published_ports)
@ -2498,7 +2498,7 @@
name: "{{ cname }}" name: "{{ cname }}"
state: started state: started
published_ports: published_ports:
- 1234 - 9002
register: published_ports_3 register: published_ports_3
- name: published_ports (more published_ports) - name: published_ports (more published_ports)
@ -2508,8 +2508,8 @@
name: "{{ cname }}" name: "{{ cname }}"
state: started state: started
published_ports: published_ports:
- 1234 - 9002
- 2345 - 9003
stop_timeout: 1 stop_timeout: 1
register: published_ports_4 register: published_ports_4

@ -14,8 +14,8 @@
name: "{{ cname }}" name: "{{ cname }}"
state: started state: started
exposed_ports: exposed_ports:
- "8080" - "9001"
- "8081" - "9002"
published_ports: published_ports:
- all - all
stop_timeout: 1 stop_timeout: 1
@ -28,8 +28,8 @@
name: "{{ cname }}" name: "{{ cname }}"
state: started state: started
exposed_ports: exposed_ports:
- "8080" - "9001"
- "8081" - "9002"
published_ports: published_ports:
- all - all
stop_timeout: 1 stop_timeout: 1
@ -42,11 +42,11 @@
name: "{{ cname }}" name: "{{ cname }}"
state: started state: started
exposed_ports: exposed_ports:
- "8080" - "9001"
- "8081" - "9002"
published_ports: published_ports:
- "8080" - "9001"
- "8081" - "9002"
stop_timeout: 1 stop_timeout: 1
register: published_ports_3 register: published_ports_3
@ -57,11 +57,11 @@
name: "{{ cname }}" name: "{{ cname }}"
state: started state: started
exposed_ports: exposed_ports:
- "8080" - "9001"
- "8081" - "9002"
published_ports: published_ports:
- "8080" - "9002"
- "8081" - "9001"
stop_timeout: 1 stop_timeout: 1
register: published_ports_4 register: published_ports_4
@ -72,8 +72,8 @@
name: "{{ cname }}" name: "{{ cname }}"
state: started state: started
exposed_ports: exposed_ports:
- "8080" - "9001"
- "8081" - "9002"
published_ports: published_ports:
- all - all
stop_timeout: 1 stop_timeout: 1

Loading…
Cancel
Save