feat: add basic httpbin services

Used to test connectivity of proxies
This commit is contained in:
Bert-Jan Fikse 2025-11-07 11:50:53 +01:00
parent 8c29be5db7
commit a4aa64777e
Signed by: bert-jan
GPG key ID: C1E0AB516AC16D1A
18 changed files with 346 additions and 0 deletions

View file

@ -0,0 +1,20 @@
#SPDX-License-Identifier: MIT-0
---
# tasks file for httpbin
- name: Create docker compose directory
file:
path: "{{ httpbin_docker_compose_dir }}"
state: directory
mode: '0755'
- name: Create docker-compose file for httpbin
template:
src: docker-compose.yml.j2
dest: "{{ httpbin_docker_compose_dir }}/docker-compose.yml"
mode: '0644'
- name: Start httpbin container
community.docker.docker_compose_v2:
project_src: "{{ httpbin_docker_compose_dir }}"
state: present