{"id":36745818,"url":"https://github.com/ca-gip/dploy","last_synced_at":"2026-01-12T12:32:43.261Z","repository":{"id":54695881,"uuid":"322270026","full_name":"ca-gip/dploy","owner":"ca-gip","description":"A meta CLI for Ansible which enable multi inventory deployment while providing smart completion","archived":false,"fork":false,"pushed_at":"2021-12-16T13:29:46.000Z","size":290,"stargazers_count":7,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-06-19T05:48:21.198Z","etag":null,"topics":["ansilbe","cli"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ca-gip.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":"2020-12-17T11:11:59.000Z","updated_at":"2024-01-12T02:10:58.000Z","dependencies_parsed_at":"2022-08-14T00:20:12.958Z","dependency_job_id":null,"html_url":"https://github.com/ca-gip/dploy","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/ca-gip/dploy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ca-gip%2Fdploy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ca-gip%2Fdploy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ca-gip%2Fdploy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ca-gip%2Fdploy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ca-gip","download_url":"https://codeload.github.com/ca-gip/dploy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ca-gip%2Fdploy/sbom","scorecard":{"id":261264,"data":{"date":"2025-08-11","repo":{"name":"github.com/ca-gip/dploy","commit":"a43a290af88a17d0b551a5141edb721e70584fc9"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.9,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":"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":"Code-Review","score":0,"reason":"Found 0/30 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":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/codeql-analysis.yml:1","Warn: no topLevel permission defined: .github/workflows/release.yml:1","Warn: no topLevel permission defined: .github/workflows/test.yml:1","Info: no jobLevel write permissions found"],"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":"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/ca-gip/dploy/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/ca-gip/dploy/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:53: update your workflow using https://app.stepsecurity.io/secureworkflow/ca-gip/dploy/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:67: update your workflow using https://app.stepsecurity.io/secureworkflow/ca-gip/dploy/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/ca-gip/dploy/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/ca-gip/dploy/release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/ca-gip/dploy/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/ca-gip/dploy/test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/ca-gip/dploy/test.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/ca-gip/dploy/test.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/ca-gip/dploy/test.yml/main?enable=pin","Info:   0 out of   8 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 third-party GitHubAction dependencies pinned"],"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":"SAST","score":10,"reason":"SAST tool detected: CodeQL","details":["Info: SAST configuration detected: CodeQL","Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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":"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: MIT License: 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":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v0.3.2 not signed: https://api.github.com/repos/ca-gip/dploy/releases/46469929","Warn: release artifact v0.3.1 not signed: https://api.github.com/repos/ca-gip/dploy/releases/44055603","Warn: release artifact v0.3.0 not signed: https://api.github.com/repos/ca-gip/dploy/releases/44030047","Warn: release artifact v0.2.2 not signed: https://api.github.com/repos/ca-gip/dploy/releases/39165915","Warn: release artifact v0.2.1 not signed: https://api.github.com/repos/ca-gip/dploy/releases/38409676","Warn: release artifact v0.3.2 does not have provenance: https://api.github.com/repos/ca-gip/dploy/releases/46469929","Warn: release artifact v0.3.1 does not have provenance: https://api.github.com/repos/ca-gip/dploy/releases/44055603","Warn: release artifact v0.3.0 does not have provenance: https://api.github.com/repos/ca-gip/dploy/releases/44030047","Warn: release artifact v0.2.2 does not have provenance: https://api.github.com/repos/ca-gip/dploy/releases/39165915","Warn: release artifact v0.2.1 does not have provenance: https://api.github.com/repos/ca-gip/dploy/releases/38409676"],"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 'main'"],"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":"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":"Vulnerabilities","score":1,"reason":"9 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2021-0227 / GHSA-3vm4-22fp-5rfm","Warn: Project is vulnerable to: GO-2022-0968 / GHSA-gwc9-m7rh-j2ww","Warn: Project is vulnerable to: GO-2021-0356 / GHSA-8c26-wmh5-6g9v","Warn: Project is vulnerable to: GO-2024-2961","Warn: Project is vulnerable to: GO-2023-2402 / GHSA-45x7-px36-x8w8","Warn: Project is vulnerable to: GO-2024-3321 / GHSA-v778-237x-gjrc","Warn: Project is vulnerable to: GO-2025-3487 / GHSA-hcg3-q754-cr77","Warn: Project is vulnerable to: GO-2022-0493 / GHSA-p782-xgp4-8hr8","Warn: Project is vulnerable to: GO-2022-0603 / GHSA-hp87-p4gw-j4gq"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-17T10:53:50.707Z","repository_id":54695881,"created_at":"2025-08-17T10:53:50.708Z","updated_at":"2025-08-17T10:53:50.708Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28338978,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T12:22:26.515Z","status":"ssl_error","status_checked_at":"2026-01-12T12:22:10.856Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["ansilbe","cli"],"created_at":"2026-01-12T12:32:43.165Z","updated_at":"2026-01-12T12:32:43.254Z","avatar_url":"https://github.com/ca-gip.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dploy\n![test](https://github.com/ca-gip/dploy/workflows/test/badge.svg)\n[![Coverage Status](https://coveralls.io/repos/github/ca-gip/dploy/badge.svg)](https://coveralls.io/github/ca-gip/dploy)\n![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/ca-gip/dploy)\n[![Go Report Card](https://goreportcard.com/badge/github.com/ca-gip/dploy)](https://goreportcard.com/report/github.com/ca-gip/dploy)\n![dowload](https://img.shields.io/github/downloads/ca-gip/dploy/total)\n\n`dploy` is a meta CLI for Ansible which enable multi inventory deployment while providing smart completion.\n\nIt supports `ansible-playbook` and `ansible` command\n\n### Intallation\n\n```bash\ncurl -ssf -L https://raw.githubusercontent.com/ca-gip/dploy/master/install.sh | bash\n```\n\nAdding completion for bash (also available for zsh and fish)\n\n```\necho \"source \u003c(dploy completion bash)\" \u003e\u003e ~/.bashrc\n```\n\n## Usage\n\n```bash\ndploy -h\nAnsible deployment toolbox\n\nUsage:\n  dploy [command]\n\nAvailable Commands:\n  completion  Generate completion script\n  exec        Run Ad Hoc command\n  generate    Generate ansible-playbook command\n  help        Help about any command\n  play        Run ansible-playbook command\n```\n\n### How to select inventories ?\n\nAll subcommand use a `--filter` arguments that will select inventories based on the vars declared under `[all:vars]` in *.ini files.\n\nFilter implement the following operators to match variable value:\n * Equal `==`\n * NotEqual `!=`\n * EndWith `$=`\n * Contains `~=`\n * StartWith `^=`\n\nFiltering is based on the location where the command is executed as it will recursively search all *.ini files.\n\n\n\u003cp align=\"center\"\u003e\n  \u003cimg width=\"1000\" src=\"https://raw.githubusercontent.com/ca-gip/dploy/main/assets/filter.svg\"\u003e\n\u003c/p\u003e\n\n### Subcommands\n\n#### Play\n\nLaunch a playbook\n```bash\ndploy play --filter platform==os -p upgrade-proxy.yml\n```\n\nCompletion is available for :\n * `--playbook` only yaml files that are valid playbooks will be shown \n * `--tags` a playbook must selected beforehand\n\n#### Exec\n\nExecute Ad Hoc command \n```bash\ndploy exec --filter customer==os -m ping -p lb\n```\n\nCompletion is available for :\n * `--pattern` it will list all groups and host present in inventories files\n\n\n \u003chr/\u003e\n\u003cp align=center  style=\"background-color:#333333 !important;\"\u003e\n  \u003ca href=\"https://www.jetbrains.com/\"\u003e\n  Developed with\n  \u003cbr/\u003e\n  \u003cimg align=\"center\" src=\"https://resources.jetbrains.com/storage/products/company/brand/logos/jb_beam.png\" alt=\"drawing\" width=\"100\"/\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fca-gip%2Fdploy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fca-gip%2Fdploy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fca-gip%2Fdploy/lists"}