28 lines
677 B
YAML
28 lines
677 B
YAML
---
|
|
- name: Chisel Client - Server playbook
|
|
hosts: all
|
|
become: true
|
|
|
|
# #
|
|
# # @author Stéphane Gratias (2021).
|
|
#
|
|
|
|
# pre_tasks:
|
|
# - name: Start the tempory chisel server in docker
|
|
# community.docker.docker_container:
|
|
# name: chisel-server
|
|
# image: jpillora/chisel
|
|
# network_mode: host
|
|
# command: ["server", "--socks5", "--reverse", "--port", "8080"]
|
|
# published_ports:
|
|
# - "8080:8080"
|
|
# - "8081:1080"
|
|
# when: "{{ chisel_server }} is true"
|
|
# tags:
|
|
# - chisel
|
|
# - test
|
|
|
|
|
|
roles:
|
|
# manage docker-compose@dev systemd unit file
|
|
- { role: justin_p.chisel, tags: chisel } |