diff --git a/playbooks/tasks/game/satisfactory.yml b/playbooks/tasks/game/satisfactory.yml index 341eb73..5d025de 100644 --- a/playbooks/tasks/game/satisfactory.yml +++ b/playbooks/tasks/game/satisfactory.yml @@ -8,9 +8,34 @@ pull: yes env: MAXPLAYERS: "8" + # We have this turned on for modding's sake + SKIPUPDATE: "true" ports: - '7777:7777/udp' - '7777:7777/tcp' volumes: - /data/satisfactory/config:/config tags: [ docker, satisfactory ] +- name: docker deploy satisfactory sftp + docker_container: + name: satisfactory-sftp + state: started + image: atmoz/sftp + restart_policy: unless-stopped + pull: yes + ulimits: + - 'nofile:262144:262144' + ports: + - '7776:22/tcp' + volumes: + - /data/satisfactory/config:/home/servermgr/game + command: 'servermgr:{{ server_password }}:1000' + vars: + server_password: !vault | + $ANSIBLE_VAULT;1.1;AES256 + 33336138656461646462323661363336623235333861663730373535656331623230313334353239 + 6535623833343237626161383833663435643262376133320a616634613764396661316332373339 + 33633662366666623931643635313162366339306539666632643437396637616632633432326631 + 3038333932623638390a386362653463306338326436396230633562313466336464663764643461 + 3134 + tags: [ docker, satisfactory, sidecar, sftp ]