From 61703e612168a22578b2a89e3573ab22c443ca51 Mon Sep 17 00:00:00 2001 From: Jonathan Cobb Date: Mon, 14 Sep 2020 08:53:41 -0400 Subject: [PATCH] change ansible file to copy --- .../src/main/resources/packer/roles/mitmproxy/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bubble-server/src/main/resources/packer/roles/mitmproxy/tasks/main.yml b/bubble-server/src/main/resources/packer/roles/mitmproxy/tasks/main.yml index 172c6e86..2a6d90ab 100644 --- a/bubble-server/src/main/resources/packer/roles/mitmproxy/tasks/main.yml +++ b/bubble-server/src/main/resources/packer/roles/mitmproxy/tasks/main.yml @@ -93,14 +93,14 @@ shell: su - mitmproxy -c "bash -c 'cd /home/mitmproxy/mitmproxy && ./dev.sh'" - name: Patch _client.py from httpx to fix bug with HTTP/2 redirects - file: + copy: src: _client.py dest: /home/mitmproxy/mitmproxy/venv/lib/python3.8/site-packages/httpx/_client.py owner: mitmproxy group: mitmproxy - name: Patch _events.py from h11 to fix bug with HTTP status 999 being considered invalid - file: + copy: src: _events.py dest: /home/mitmproxy/mitmproxy/venv/lib/python3.8/site-packages/h11/_events.py owner: mitmproxy