1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Only use ports in the range 9001-9060.

This commit is contained in:
Felix Fontein 2019-03-15 07:19:41 +01:00 committed by Matt Clay
parent cac3c6efcf
commit 77f7e5a986
2 changed files with 44 additions and 44 deletions

View file

@ -1356,8 +1356,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)
@ -1367,8 +1367,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)
@ -1378,7 +1378,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)
@ -1388,8 +1388,8 @@
name: "{{ cname }}" name: "{{ cname }}"
state: started state: started
exposed_ports: exposed_ports:
- "1234" - "9002"
- "1235" - "9003"
force_kill: yes force_kill: yes
register: exposed_ports_4 register: exposed_ports_4
@ -2942,8 +2942,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)
@ -2953,8 +2953,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)
@ -2964,7 +2964,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)
@ -2974,8 +2974,8 @@
name: "{{ cname }}" name: "{{ cname }}"
state: started state: started
published_ports: published_ports:
- 1234 - 9002
- 2345 - 9003
force_kill: yes force_kill: yes
register: published_ports_4 register: published_ports_4

View file

@ -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
force_kill: yes force_kill: yes
@ -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
force_kill: yes force_kill: yes
@ -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"
force_kill: yes force_kill: yes
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"
force_kill: yes force_kill: yes
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
force_kill: yes force_kill: yes
@ -105,11 +105,11 @@
name: "{{ cname }}" name: "{{ cname }}"
state: started state: started
exposed_ports: exposed_ports:
- "8080" - "9001"
- "5000-5040" - "9010-9050"
published_ports: published_ports:
- "8080:8080" - "9001:9001"
- "5000-5040:5000-5040" - "9010-9050:9010-9050"
force_kill: yes force_kill: yes
register: published_ports_1 register: published_ports_1
@ -120,11 +120,11 @@
name: "{{ cname }}" name: "{{ cname }}"
state: started state: started
exposed_ports: exposed_ports:
- "8080" - "9001"
- "5000-5040" - "9010-9050"
published_ports: published_ports:
- "8080:8080" - "9001:9001"
- "5000-5040:5000-5040" - "9010-9050:9010-9050"
force_kill: yes force_kill: yes
register: published_ports_2 register: published_ports_2
@ -135,11 +135,11 @@
name: "{{ cname }}" name: "{{ cname }}"
state: started state: started
exposed_ports: exposed_ports:
- "8080" - "9001"
- "5000-5040" - "9010-9050"
published_ports: published_ports:
- "8080:8080" - "9001:9001"
- "5010-5050:5010-5050" - "9020-9060:9020-9060"
force_kill: yes force_kill: yes
register: published_ports_3 register: published_ports_3
@ -167,7 +167,7 @@
name: "{{ cname }}" name: "{{ cname }}"
state: started state: started
published_ports: published_ports:
- "[::1]:8080:8080" - "[::1]:9001:9001"
force_kill: yes force_kill: yes
register: published_ports_1 register: published_ports_1
@ -178,7 +178,7 @@
name: "{{ cname }}" name: "{{ cname }}"
state: started state: started
published_ports: published_ports:
- "[::1]:8080:8080" - "[::1]:9001:9001"
force_kill: yes force_kill: yes
register: published_ports_2 register: published_ports_2
@ -189,7 +189,7 @@
name: "{{ cname }}" name: "{{ cname }}"
state: started state: started
published_ports: published_ports:
- "127.0.0.1:8080:8080" - "127.0.0.1:9001:9001"
force_kill: yes force_kill: yes
register: published_ports_3 register: published_ports_3
@ -200,7 +200,7 @@
name: "{{ cname }}" name: "{{ cname }}"
state: started state: started
published_ports: published_ports:
- "localhost:8080:8080" - "localhost:9001:9001"
force_kill: yes force_kill: yes
register: published_ports_4 register: published_ports_4
ignore_errors: yes ignore_errors: yes