{"id":21162159,"url":"https://github.com/pixelart/ansible-role-platformsh-cli","last_synced_at":"2025-03-14T16:13:06.726Z","repository":{"id":136831410,"uuid":"80503410","full_name":"pixelart/ansible-role-platformsh-cli","owner":"pixelart","description":"Ansible Role: platform.sh CLI","archived":false,"fork":false,"pushed_at":"2017-05-11T14:37:04.000Z","size":17,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-21T09:31:12.772Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://galaxy.ansible.com/pixelart/platformsh-cli/","language":null,"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/pixelart.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2017-01-31T08:33:40.000Z","updated_at":"2017-07-05T09:55:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"b4d77e99-cfb1-4a12-91fb-5cccc78fd1b3","html_url":"https://github.com/pixelart/ansible-role-platformsh-cli","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelart%2Fansible-role-platformsh-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelart%2Fansible-role-platformsh-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelart%2Fansible-role-platformsh-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelart%2Fansible-role-platformsh-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pixelart","download_url":"https://codeload.github.com/pixelart/ansible-role-platformsh-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243606962,"owners_count":20318314,"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":[],"created_at":"2024-11-20T13:22:49.904Z","updated_at":"2025-03-14T16:13:06.691Z","avatar_url":"https://github.com/pixelart.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ansible Role: platform.sh CLI\n\n[![Build Status](https://travis-ci.org/pixelart/ansible-role-platformsh-cli.svg?branch=master)](https://travis-ci.org/pixelart/ansible-role-platformsh-cli)\n\nInstalls the [platform.sh](https://platform.sh/) CLI, on any Linux or UNIX system.\n\n## Requirements\n\n  - `php` (version 5.5+) should be installed and working.\n  - `git` should be installed and working.\n\n## Role Variables\n\nAvailable variables are listed below, along with default values (see `defaults/main.yml`):\n\n    platformsh_path: /usr/local/bin/platform\n\nThe path where platform.sh CLI will be installed and available to your system. Should be in your user's `$PATH` so you can run commands simply with `platform` instead of the full path.\n\n    platformsh_keep_updated: false\n\nSet this to `true` to update the platform.sh CLI to the latest release every time the playbook is run.\n\n    php_executable: php\n\nThe executable name or full path to the PHP executable. This is defaulted to `php` if you don't override the variable.\n\n    platformsh_shell_config_path: ''\n    \nSince the platform.sh CLI shell config contains bash autocompletion it can't be put into `/etc/profile.d` and thus you must define a path, where to put the file to load it globally. For example on Ubuntu/Debian you can use `/etc/bash.bashrc.d` and add the following snippet to `/etc/bash.bashrc`:\n\n    if [ -d /etc/bash.bashrc.d ]; then\n      for i in /etc/bash.bashrc.d/*.sh; do\n        if [ -r $i ]; then\n          . $i\n        fi\n      done\n      unset i\n    fi \n\n## Dependencies\n\nNone (but make sure you've installed PHP).\n\n## Example Playbook\n\n    - hosts: phpdevs\n      roles:\n        - pixelart.platformsh-cli\n\nAfter the playbook runs, `platform` will be placed in `/usr/local/bin/platform` (this location is configurable), and will be accessible via normal user accounts.\n\n## Code of Conduct\n\nPlease note that this project is released with a [Contributor Code of Conduct](CODE_OF_CONDUCT.md). By participating in this project you agree to abide by its terms.\n\n## License\n\nMIT, see the [LICENSE](LICENSE) file.\n\n## Author Information\n\nThis role was created in 2017 by [pixelart GmbH](https://www.pixelart.at/) and inspired by the roles of [Jeff Geerling](https://www.jeffgeerling.com/), author of [Ansible for DevOps](https://www.ansiblefordevops.com/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpixelart%2Fansible-role-platformsh-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpixelart%2Fansible-role-platformsh-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpixelart%2Fansible-role-platformsh-cli/lists"}