{"id":13753733,"url":"https://github.com/lfbear/ansible-api","last_synced_at":"2025-10-10T15:09:58.168Z","repository":{"id":42406954,"uuid":"59626639","full_name":"lfbear/ansible-api","owner":"lfbear","description":"A RESTful HTTP Api for Ansible","archived":false,"fork":false,"pushed_at":"2022-08-29T14:28:02.000Z","size":244,"stargazers_count":138,"open_issues_count":3,"forks_count":57,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-05-20T00:06:35.357Z","etag":null,"topics":["ansible","api","http-api","python","realtime-messaging","rest-api"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lfbear.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-05-25T03:06:48.000Z","updated_at":"2025-01-18T08:52:26.000Z","dependencies_parsed_at":"2022-08-28T01:14:01.293Z","dependency_job_id":null,"html_url":"https://github.com/lfbear/ansible-api","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/lfbear/ansible-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfbear%2Fansible-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfbear%2Fansible-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfbear%2Fansible-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfbear%2Fansible-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lfbear","download_url":"https://codeload.github.com/lfbear/ansible-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfbear%2Fansible-api/sbom","scorecard":{"id":586764,"data":{"date":"2025-08-11","repo":{"name":"github.com/lfbear/ansible-api","commit":"83ac38aa39c0123a3d9b98da525488b42bc86e79"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 2/22 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU General Public License v3.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 13 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-20T20:42:57.837Z","repository_id":42406954,"created_at":"2025-08-20T20:42:57.838Z","updated_at":"2025-08-20T20:42:57.838Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279004573,"owners_count":26083735,"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","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","api","http-api","python","realtime-messaging","rest-api"],"created_at":"2024-08-03T09:01:28.374Z","updated_at":"2025-10-10T15:09:58.146Z","avatar_url":"https://github.com/lfbear.png","language":"Python","readme":"# ansible-api v0.5.1\n\nA restful http api for ansible\npython version \u003e= 3.7\n\n## What is it?\n\n[Ansible](https://github.com/ansible/ansible/) is a radically simple IT automation system.\nIf you are trying to use it and not like CLI, you can try me now. I can provide you use ansible by A RESTful HTTP Api and a realtime processing message (websocket api), you can see all details.\n\n## Changelog\n\n- 0.5.1 \n  + add sha256 encryption support for signature (thx: jbackman)\n  + fit for latest ansible(v2.8.6) and ansible-runner(v1.4.2)\n  + add more error event capture in response\n- 0.5.0 replace tornado with sanic, more lightly (python\u003e=3.7) \n- 0.3.0 using ansible-runner as middleware\n- 0.2.6 adaptive ansible 2.6.4 and add asynchronization mode\n- 0.2.2 optimize log\n- 0.2.1 optimize log and allow mutil-instance in the same host\n- 0.2.0 support websocket, remove code invaded in ansible\n\n## Structure chart\n\n![image](https://github.com/lfbear/ansible-api/raw/master/data/structure.png)\n\n## How to install\n\n- [preparatory work] python version \u003e= 3.7 (use asyncio featrue)\n- ```pip3 install ansible-api```\n\n## How to start it\n\n- default configuration: /etc/ansible/api.cfg\n- start: \n```\nansible-api -c [Configfile, Optional] -d [Daemon Mode, Optional]\n```\neg: ansible-api -c /etc/ansible/api.cfg -d \u003e /dev/null \u0026\n\n## How to prepare your data\n\n[HTTP API Usage](https://github.com/lfbear/ansible-api/wiki/http-api-usage)\n","funding_links":[],"categories":["python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flfbear%2Fansible-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flfbear%2Fansible-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flfbear%2Fansible-api/lists"}