updating documentation
- giving things a better structure - better documentation with the way things need to be as a standard
This commit is contained in:
@@ -1,8 +1,14 @@
|
||||
# vim: set filetype=yaml.ansible :
|
||||
# Package: air
|
||||
# Description: application auto reload for go
|
||||
# Version: latest
|
||||
# Methods: source (go install)
|
||||
# Helpers: go_install
|
||||
---
|
||||
- name: Configure air # {{{
|
||||
# {{{ Configure air
|
||||
- name: Start air configuration
|
||||
when:
|
||||
- __air_configured is undefined
|
||||
- "'air' not in __configured"
|
||||
block:
|
||||
- name: Set air install method
|
||||
when:
|
||||
@@ -44,6 +50,6 @@
|
||||
ansible.builtin.set_fact:
|
||||
pkg_go: "{{ pkg_go + [air_go_pkg] }}"
|
||||
|
||||
- name: Complete air configuration
|
||||
- name: Finalize air configuration
|
||||
ansible.builtin.set_fact:
|
||||
__air_configured: true
|
||||
__configured: "{{ __configured | combine( { 'air': true } ) }}"
|
||||
|
||||
Reference in New Issue
Block a user