Make installation of Sublime Text optional; Updated README

This commit is contained in:
Jan Beilicke 2021-03-27 14:58:32 +01:00
parent 78e2112ba6
commit 527814829c
3 changed files with 16 additions and 15 deletions

View file

@ -1,38 +1,37 @@
Role Name
=========
A brief description of the role goes here.
Ansible Role: jotbe.dev_tools
=============================
Requirements
------------
Any pre-requisites that may not be covered by Ansible itself or the role should be mentioned here. For instance, if the role uses the EC2 module, it may be a good idea to mention in this section that the boto package is required.
Role Variables
--------------
A description of the settable variables for this role should go here, including any variables that are in defaults/main.yml, vars/main.yml, and any variables that can/should be set via parameters to the role. Any variables that are read from other roles and/or the global scope (ie. hostvars, group vars, etc.) should be mentioned here as well.
```yaml
# default variables
enable_sublime_text: yes
```
Dependencies
------------
A list of other roles hosted on Galaxy should go here, plus any details in regards to parameters that may need to be set for other roles, or variables that are used from other roles.
Example Playbook
----------------
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
Create a playbook containing e.g.:
- hosts: servers
- hosts: devvm
roles:
- { role: username.rolename, x: 42 }
- { role: jotbe.dev_tools, enable_sublime_text: no }
License
-------
BSD
MIT
Author Information
------------------
An optional section for the role authors to include contact information, or a website (HTML is not allowed).
This role was created in 2020 by [Jan Beilicke](https://jotbe.io).

View file

@ -1,2 +1,3 @@
---
# defaults file for jotbe.dev-tools
# defaults file for jotbe.dev-tools
enable_sublime_text: yes

View file

@ -6,3 +6,4 @@
apply:
tags:
- sublime_text
when: enable_sublime_text