mirror of
https://forge.murkfall.net/bluesaxman/old_murkfall_playbooks.git
synced 2026-03-13 02:34:20 -06:00
Initial Archival Commit of all playbooks
This commit is contained in:
26
playbooks/cloud/20-protonmail_bridge_play
Normal file
26
playbooks/cloud/20-protonmail_bridge_play
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
- hosts: localhost
|
||||
vars:
|
||||
password: rolaids
|
||||
tasks:
|
||||
- name: Create Protonmail Bridge Config volume
|
||||
docker_volume:
|
||||
name: protonmail_bridge
|
||||
|
||||
- name: Create network interface
|
||||
command: /usr/bin/ip addr add 192.168.1.63/24 dev enp2s0
|
||||
ignore_errors: True
|
||||
|
||||
- name: Start Protonmail Bridge
|
||||
docker_container:
|
||||
name: mail
|
||||
hostname: mail
|
||||
recreate: yes
|
||||
image: shenxn/protonmail-bridge:latest
|
||||
ports:
|
||||
- "192.168.1.63:1025:25/tcp"
|
||||
- "192.168.1.63:1143:143/tcp"
|
||||
volumes:
|
||||
- protonmail_bridge:/root
|
||||
memory: 512M
|
||||
restart_policy: unless-stopped
|
||||
Reference in New Issue
Block a user