Last active
June 3, 2016 19:29
-
-
Save AAlvz/eadfaffd1e278ba8eab34f4988f5c3fc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GOROLE (FIRST ROLE) | |
https://github.com/AAlvz/ansible-go | |
SECOND ROLE | |
tasks/main.yml | |
- debug: msg="System {{ lookup('env','GOPATH' }}" | |
FIRST PROVISION | |
TASK: [gh_service | debug msg="System "] ************************************** | |
ok: [node.go] => { | |
"msg": "System " | |
} | |
SECOND PROVISION | |
TASK: [gh_service | debug msg="System /home/vagrant/go"] ********************** | |
ok: [node.go] => { | |
"msg": "System /home/vagrant/go" | |
} | |
site.yml | |
- hosts: nodee.go | |
roles: | |
- { role: golang, sudo: yes } | |
- role: test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment