- name: Create database ansible.builtin.include_role: role: app/database vars: app_name: "scripthost" - name: Deploy container community.docker.docker_container: image: gitgud.foo/thegrind/scripthost name: scripthost pull: true state: started ports: - "{{ port }}:8000" env: APP_URL: "https://run.thatshit.live" APP_TIMEZONE: "America/New_York" APP_KEY: "base64:rq0EBhrppwplUkdUPnN6G54nSn+pUiZE1T0WG6Q3gzc=" OCTANE_HTTPS: "true" DB_CONNECTION: "pgsql" DB_HOST: "{{ pg_host }}" DB_PORT: "{{ pg_port | string }}" DB_DATABASE: "scripthost" DB_USERNAME: "scripthost" DB_PASSWORD: "password"