Skip to content
Snippets Groups Projects
Commit c3dd6a82 authored by jurgenhaas's avatar jurgenhaas
Browse files

ansible-playbooks/general#85 Linting

parent e0f9c1ea
No related branches found
No related tags found
No related merge requests found
---
# file: roles/golang/tasks/main.yml
- name: "Common GoLang"
set_fact: role_golang_started=true
tags: 'always'
- name: Common GoLang
set_fact:
role_golang_started: yes
tags:
- always
- block:
- name: "Install Go Lang"
- name: Install Go Lang
apt:
pkg: 'golang-go'
state: 'present'
pkg: golang-go
state: present
update_cache: yes
- name: "Remember that this role had been run"
set_fact: role_golang_completed=true
tags: 'always'
- name: Remember that this role had been run
set_fact:
role_golang_completed: yes
tags:
- always
when: '"golang" not in excluded_roles and role_golang_completed is not defined'
when: not excluded_roles or "golang" not in excluded_roles and role_golang_completed is not defined
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment