Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oefenweb/ansible-nano
Ansible role to set up nano in Debian-like systems
https://github.com/oefenweb/ansible-nano
ansible debian development ide nano ubuntu
Last synced: 2 months ago
JSON representation
Ansible role to set up nano in Debian-like systems
- Host: GitHub
- URL: https://github.com/oefenweb/ansible-nano
- Owner: Oefenweb
- License: mit
- Created: 2014-08-19T10:54:50.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2024-11-19T15:52:13.000Z (2 months ago)
- Last Synced: 2024-11-19T16:49:09.076Z (2 months ago)
- Topics: ansible, debian, development, ide, nano, ubuntu
- Language: Jinja
- Size: 120 KB
- Stars: 5
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
## nano
[![CI](https://github.com/Oefenweb/ansible-nano/workflows/CI/badge.svg)](https://github.com/Oefenweb/ansible-nano/actions?query=workflow%3ACI)
[![Ansible Galaxy](http://img.shields.io/badge/ansible--galaxy-nano-blue.svg)](https://galaxy.ansible.com/Oefenweb/nano)Set up nano in Debian-like systems.
#### Requirements
* `git` (will be installed)
* `make` (will be installed)#### Variables
* `nano_nanorc_destinations` [default: `{skell: dest: /etc/skel, current: dest: "{{ ansible_env.HOME }}"}`]: Destinations to copy the nanorc file to
* `nano_nanorc_destinations.key`: The identifier of the file (e.g. `skel`)
* `nano_nanorc_destinations.key.dest`: The remote path of the file to copy (e.g. `/etc/skel`)
* `nano_nanorc_destinations.key.owner`: The name of the user that should own the file (optional, default `root`)
* `nano_nanorc_destinations.key.group`: The name of the group that should own the file (optional, default `owner`, then `root`)
* `nano_nanorc_destinations.key.mode`: The mode of the file, such as 0644 (optional, default `0644`)* `nano_tabsize`: [default: `2`]: Tab size
* `nano_tabstospaces`: [default: `true`]: Whether to convert typed tabs to spaces
* `nano_smooth_scrolling`: [default: `true`]: Whether to use smooth scrolling (version `< 5.6.1`)* `nano_improved_nanorc_install`: [default: `true`]: Whether to install [improved syntax highlighting](https://github.com/nanorc/nanorc)
* `nano_improved_nanorc_langs`: [default: `all`]: Languages to enable after installation
* `nano_improved_nanorc_git_repo`: [default: `https://github.com/nanorc/nanorc`]: The repository url
* `nano_improved_nanorc_git_branch`: [default: `master`]: The branch to checkout## Dependencies
None
#### Example
```yaml
---
- hosts: all
roles:
- oefenweb.nano
```#### License
MIT
#### Author Information
Mischa ter Smitten
#### Feedback, bug-reports, requests, ...
Are [welcome](https://github.com/Oefenweb/ansible-nano/issues)!