{"id":16452870,"url":"https://github.com/vitalk/ansible-flaskapp","last_synced_at":"2025-06-18T01:34:18.827Z","repository":{"id":29572761,"uuid":"33112362","full_name":"vitalk/ansible-flaskapp","owner":"vitalk","description":"Ansible recipe to deploy Flask application","archived":false,"fork":false,"pushed_at":"2018-04-18T08:53:10.000Z","size":14,"stargazers_count":8,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-08T07:34:00.678Z","etag":null,"topics":["ansible","deployment","flask","recipe"],"latest_commit_sha":null,"homepage":"https://galaxy.ansible.com/vitalk/flaskapp","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vitalk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-30T08:47:51.000Z","updated_at":"2020-09-26T13:33:36.000Z","dependencies_parsed_at":"2022-09-03T17:51:30.316Z","dependency_job_id":null,"html_url":"https://github.com/vitalk/ansible-flaskapp","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/vitalk/ansible-flaskapp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitalk%2Fansible-flaskapp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitalk%2Fansible-flaskapp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitalk%2Fansible-flaskapp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitalk%2Fansible-flaskapp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vitalk","download_url":"https://codeload.github.com/vitalk/ansible-flaskapp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitalk%2Fansible-flaskapp/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260468222,"owners_count":23013869,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","deployment","flask","recipe"],"created_at":"2024-10-11T10:14:02.920Z","updated_at":"2025-06-18T01:34:13.803Z","avatar_url":"https://github.com/vitalk.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flask app\n\nAnsible recipe to deploy Flask application. This recipe does not trying to\ndefine your production infrastructure and just:\n\n- Install required system packages to serve python application\n- Run pre deploy hooks\n- Checkout the latest source code\n- Install required application dependencies via `pip`, `npm` (optional) and\n  `bower` (optional)\n- Run post deploy hooks\n- Copy custom application config to remote server.\n\n\n## Role Variables\n\n| Option               | Description                                          |\n|----------------------|------------------------------------------------------|\n| `app_name`           | The name of the application, uses to create application directory, e.g. should be a shorthand, lowercase and not contain any whitespaces, e.g. `app`. |\n| `app_user`           | The user to run application, e.g. `{{ app_name }}`. |\n| `app_directory`      | The directory to keep application source code, e.g. `/home/{{ app_user }}/{{ app_name }}`. |\n| `app_log_directory`  | The directory to keep application logs if any. |\n| `app_requirements`   | The path to application requirements, e.g. `{{ app_directory }}/requirements.txt`. |\n| `app_repository`     | The remote git repository to pull application code from, e.g. `ssh://git@github.com/vitalk/flaskapp.git`. |\n| `app_version`        | The version of the repository to checkout. This can be a full 40-character SHA1 hash, a branch or a tag name, e.g. `master`. |\n| `app_environment`    | The list of environment variables uses to run most of commands. |\n| `app_pre_hooks`      | The list of custom commands to run before deploy. These commands uses previously defined environment to run. |\n| `app_post_hooks`     | The list of custom commands to run after deploy. |\n| `app_config`         | The path to application config to use when launch application. |\n| `app_packages`       | The list of system packages required to build/run application. |\n| `app_requires_npm`   | Install `nodejs` and required package dependencies via `npm`? Nope. |\n| `app_requires_bower` | Install required frontend dependencies via `bower`? Nope. |\n\n\n## License\n\nLicensed under the [MIT license](http://mit-license.org/vitalk).\n\n\n## Self-Promotion\n\nCreated by Vital Kudzelka.\n\nOpen [a GitHub issue](https://github.com/vitalk/ansible-flaskapp/issues) if\nyou have any suggestion or found a bug.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvitalk%2Fansible-flaskapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvitalk%2Fansible-flaskapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvitalk%2Fansible-flaskapp/lists"}