- Install
python & dependencies
- Install
Pypi pkgs
following requirements file - Setup
env vars
- Launch project using
flask run
python3.8
python3.8-pip
pip install --upgrade pip
pip install -r requirements.txt
certbot certonly --standalone
for your domain & fillroles/flask/defaults/main.yaml
with it.
Run >
ansible-playbook -i inventory.ini provisioning-flask-app.yaml
No Host Key Check >
ANSIBLE_HOST_KEY_CHECKING=False ansible-playbook -i inventory.ini provisioning-flask-app.yaml
pip install molecule==2.22
molecule test
Dry-run >
ansible-playbook --check --diff -i inventory.ini provisioning-flask-app.yaml
Verbose mode >
ansible-playbook -vvv --diff -i inventory.ini provisioning-flask-app.yaml