Go is a compiled programming language similar to C. Applications written in Go are compiled to static binaries, with an aim to simplify deployment. Many popular data center applications and tools are written in Go.
debops.golang role was designed to support multiple ways of deploying
Go applications using Ansible:
- installation from an APT package, when available;
- installation from source by cloning the application repositories and building the binaries in situ;
- installation of a precompiled binary downloaded from a remote source;
Installation via APT packages is a preferred method, since this saves compile time and does not require access to third-party services. The other installation methods can be used when a given Go application is not available in a given OS release, or the upstream does not provide APT repositories.
debops.golang role should be used as a dependent Ansible role in other
role playbooks, to simplify installation of the Go applications. Further
service configuration should be done in a given application role. Usage via the
Ansible inventory is, of course, still possible but might not be optimal.
- Getting started
- Usage examples
- debops.golang default variables
- Default variable details
debops.golang - Manage Go environment and applications using Ansible Copyright (C) 2015 Nick Janetakis <email@example.com> Copyright (C) 2016-2019 Maciej Delmanowski <firstname.lastname@example.org> Copyright (C) 2015-2019 DebOps <https://debops.org/> SPDX-License-Identifier: GPL-3.0-only This Ansible role is part of DebOps. DebOps is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3, as published by the Free Software Foundation. DebOps is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with DebOps. If not, see https://www.gnu.org/licenses/.