https://github.com/pixelart/ansible-role-android-udev
Ansible Role: Android udev rules
https://github.com/pixelart/ansible-role-android-udev
Last synced: 4 months ago
JSON representation
Ansible Role: Android udev rules
- Host: GitHub
- URL: https://github.com/pixelart/ansible-role-android-udev
- Owner: pixelart
- License: mit
- Created: 2017-06-12T12:40:24.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-12T12:53:41.000Z (about 9 years ago)
- Last Synced: 2025-10-24T22:34:56.784Z (8 months ago)
- Homepage: https://galaxy.ansible.com/pixelart/android-udev/
- Size: 10.7 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Ansible Role: platform.sh CLI
[](https://travis-ci.org/pixelart/ansible-role-android-udev)
Configures udev rules to connect Android devices, whether you use the Android Studio/SDK or not. See https://developer.android.com/studio/run/device.html#setting-up
## Role Variables
Available variables are listed below, along with default values (see `defaults/main.yml`):
android_udev_vendor_ids:
- name: HTC
id: '0bb4'
A hash map of vendor name and the `ATTR{idVendor}` attribute value. Make sure the id is quoted as string, so the YAML parser will not interpret it as an octal or whatever number. This is already configured with the complete list from https://developer.android.com/studio/run/device.html#VendorIds
## Dependencies
None.
## Example Playbook
- hosts: devs
roles:
- pixelart.android-udev
After the playbook runs, the udev rules are placed into `/etc/udev/rules.d/51-android.rules` and connected Android devices should be accessible by the user.
## Code of Conduct
Please 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.
## License
MIT, see the [LICENSE](LICENSE) file.
## Author Information
This 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/).