{"id":25168291,"url":"https://github.com/eugene-sy/playwright","last_synced_at":"2025-05-01T13:18:48.958Z","repository":{"id":44818534,"uuid":"68972872","full_name":"eugene-sy/playwright","owner":"eugene-sy","description":"Simple utility that helps you manage Ansible roles folder structure.","archived":false,"fork":false,"pushed_at":"2024-10-28T18:34:49.000Z","size":245,"stargazers_count":6,"open_issues_count":6,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-01T13:17:43.284Z","etag":null,"topics":["ansible","command-line-tool","golang"],"latest_commit_sha":null,"homepage":"https://eugene-sy.github.io/playwright/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eugene-sy.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-09-23T00:18:31.000Z","updated_at":"2024-07-18T18:29:23.000Z","dependencies_parsed_at":"2024-05-18T06:35:52.575Z","dependency_job_id":null,"html_url":"https://github.com/eugene-sy/playwright","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eugene-sy%2Fplaywright","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eugene-sy%2Fplaywright/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eugene-sy%2Fplaywright/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eugene-sy%2Fplaywright/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eugene-sy","download_url":"https://codeload.github.com/eugene-sy/playwright/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251879166,"owners_count":21658705,"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","command-line-tool","golang"],"created_at":"2025-02-09T07:16:36.647Z","updated_at":"2025-05-01T13:18:48.934Z","avatar_url":"https://github.com/eugene-sy.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Playwright\n\n[![CircleCI](https://circleci.com/gh/eugene-sy/playwright.svg?style=shield)](https://circleci.com/gh/eugene-sy/playwright)\n[![Go Report Card](https://goreportcard.com/badge/github.com/axblade/playwright)](https://goreportcard.com/report/github.com/axblade/playwright)\n\nSimple utility that helps you manage Ansible roles folder structure.\n\n## Why\n\nAnsible is shipped with a [tool](http://docs.ansible.com/ansible/galaxy.html#create-roles) for creation of folder structure for new roles.\nIt creates full structure of folders and `main.yml` files. Generally you don't need to create all that folders and most frequent case is having `tasks` folder and `main.yml` there. Also, unused folders and files produce same effect as dead code in any codebase.\n\nPlaywright allows you to control which parts of the role you create and when.\n\n### Basic usage\n\nYou need to set up path to your `ansible.cfg` file.\nBy default playwright will expect to find it in:\n- `ANSIBLE_CONFIG` environment variable\n- in the current directory by name `ansible.cfg` or `.ansible.cfg`\n- in your system config folder `/etc/ansible/ansible.cfg`\n\nYou need to set up path to the roles folder in your `ansible.cfg`:\n\n```\nroles_path=/somewhere/in/my/system\n```\n\nNow you can call playwright to build folder structure:\n\n```\nplaywright [\u003cflags\u003e] \u003ccommand\u003e [\u003cargs\u003e ...]\n\nFlags:\n  --help       Show context-sensitive help (also try --help-long and --help-man).\n  --version    Show application version.\n  --handlers   Add 'handlers' folder\n  --templates  Add 'templates' folder\n  --files      Add 'files' folder\n  --vars       Add 'vars' folder\n  --defaults   Add 'defaults' folder\n  --meta       Add 'meta' folder\n  --all        Apply action to all folders\n  --no-color   Disable color output\n\nCommands:\n  help [\u003ccommand\u003e...]\n\tShow help.\n\n  create \u003cname\u003e\n\tCreates a playbook\n\n  update \u003cname\u003e\n\tUpdates a playbook\n\n  delete \u003cname\u003e\n\tDeletes a playbook\n```\n\nBy default, playwright creates only `tasks` folder and `main.yml` in it.\n\n### Disabling colors in output\n\nColored output can be disabled using multiple methods:\n* using `--no-color` flag for the command\n* using `PLAYWRIGHT_NOCOLOR=true` environment variable\n* using `NO_COLOR=true` system wide environment variable\n* using `TERM=dumb` environment variable\n\n## Building and installing\n\nTo build `playwright` you need\n\n- GoLang installed and `$GOPATH` set\n\nTo build and install run next command:\n\n```\nsudo make install\n```\n\nBinary file will be copied to your `/usr/local/bin` directory.\n\nTo simply build binary, run:\n\n```\nmake build\n```\n\n## Changelog\n\nCheck [CHANGELOG.md](CHANGELOG.md) file.\n\n## Contributing\n\nIf you're interested in contributing to this project, first of all I would like to extend my heartfelt gratitude.\n\nCheck [CONTRIBUTING.md](CONTRIBUTING.md) for more details, please.\n\n## License\n\nThis software is built and distributed under GPLv3 license (Ansible uses this license).\nFor more information check [LICENSE.md](LICENSE.md) file in the root folder of the repository.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feugene-sy%2Fplaywright","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feugene-sy%2Fplaywright","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feugene-sy%2Fplaywright/lists"}