No description
Find a file
2025-12-15 00:08:09 +07:00
group_vars/ctfd-server Add ssl generation, change mysql to postgresql 2018-10-28 15:59:55 +03:00
roles fix: change domain and config 2025-12-15 00:08:09 +07:00
ansible.cfg Add ssl generation, change mysql to postgresql 2018-10-28 15:59:55 +03:00
inventory Add ssl generation, change mysql to postgresql 2018-10-28 15:59:55 +03:00
LICENSE Initial commit 2018-10-27 08:01:24 +03:00
README.md Add ssl generation, change mysql to postgresql 2018-10-28 15:59:55 +03:00
site.yml Add ssl generation, change mysql to postgresql 2018-10-28 15:59:55 +03:00

ansible-ctfd

Ansible playbook for deploying CTFd

How to deploy

  • Change inventory file
  • Give it a shot with:
ansible-playbook -i inventory -e enable_ssl=true site.yml 

SSL

Don't forget to point your A records to server ip

Notes

Was deployed on top of:

root@ubuntu-s-1vcpu-1gb-nyc1-01:~# tail /etc/*release
==> /etc/lsb-release <==
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.5 LTS"

==> /etc/os-release <==
VERSION="16.04.5 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.5 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial

Happy hacking!