https://github.com/smartlogic/ansible-role-languages
https://github.com/smartlogic/ansible-role-languages
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/smartlogic/ansible-role-languages
- Owner: smartlogic
- License: mit
- Created: 2018-01-10T14:28:07.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2023-07-11T19:50:54.000Z (almost 3 years ago)
- Last Synced: 2025-03-07T02:39:48.314Z (over 1 year ago)
- Size: 14.6 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Languages
Set up programming languages SmartLogic uses.
## Install to requirements.yml
```
- src: git+git@github.com:smartlogic/ansible-role-languages
name: languages
version: 0.1.0
```
## Requirements
None
## Role Variables
- `asdf_version` - Which version of asdf to download
- Default: `0.3.0`
- `asdf_user` - The user to install asdf to
- Default: `deploy`
- `asdf_erlang_version` - Which version of erlang to download
- Default: `20.0`
- `asdf_elixir_version` - Which version of elixir to download
- Default: `1.5.1`
- `asdf_nodejs_version` - Which version of nodejs to download
- Default: `6.11.2`
## Dependencies
None
## Example Configuration
```yaml
asdf_version: '0.3.0'
asdf_user: 'deploy'
asdf_erlang_version: '20.0'
asdf_elixir_version: '1.5.1'
asdf_nodejs_version: '6.11.2'
```
## Example Playbook
```yaml
- hosts: servers
environment:
PATH: /home/{{ asdf_user }}/.asdf/bin:/home/{{ asdf_user }}/.asdf/shims:{{ ansible_env.PATH }}
roles:
- { role: languages, tags: ['elixir'], actions: ["elixir", "node"] }
```
## License
MIT
## Author Information
SmartLogic. https://smartlogic.io