https://github.com/lyz-code/ansible-vim
https://github.com/lyz-code/ansible-vim
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/lyz-code/ansible-vim
- Owner: lyz-code
- License: gpl-2.0
- Created: 2020-07-28T18:08:41.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-07-28T18:09:32.000Z (over 5 years ago)
- Last Synced: 2024-12-29T06:10:00.706Z (about 1 year ago)
- Language: Python
- Size: 26.4 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# vim
Install vim, based on [this generic role](https://git.fok.systems/ansible-roles/generic_program_install)
## Requirements
`git` and `pip` should be installed
## Role Variables
* `program` : Dictionary with the information of the program
* `name` : Program name
* `packages` : List of packages to install
* `config`: Dictionary with the information of the configuration
* `directory`: Base directory to perform the clone of the configuration
directory
* `git_repo`: Git repository of your dotfiles. It's assumed that the
repository has the same structure as your home directory. For example, in
the root of my vim configuration git repository I've got a directory called
`.vim` and a `.vimrc` file.
## Dependencies
This role is based on [this one](https://git.fok.systems/ansible-roles/generic_program_install)
Install it with:
```bash
ansible-galaxy install -r requirements.yml
```
## Example playbook
```yaml
- hosts: all
roles:
- vim
```
## Testing
**Note: Tests are broken because it needs to load the config from gitea**
To test the role you need [molecule](http://molecule.readthedocs.io/en/latest/).
```bash
molecule test
```
## License
GPLv2
## Author Information
Lyz (lyz@riseup.net)