fubarhouse / ansible-role-golang

Installs the Go programming language and packages on Mac & Linux (Ubuntu, CentOS)
MIT License
105 stars 32 forks source link

Support for package-level modules configuration #136

Closed fubarhouse closed 5 years ago

fubarhouse commented 5 years ago

Example of WIP - about to be committed.

TASK [role_under_test : Go-Lang | Run get commands] ****************************
ok: [localhost] => (item={u'url': u'github.com/xanzy/go-gitlab', u'name': u'go-gitlab'})
skipping: [localhost] => (item={u'url': u'github.com/golang/dep/cmd/dep', u'modules': False, u'name': u'dep'}) 
skipping: [localhost] => (item={u'url': u'github.com/sirupsen/logrus', u'modules': True, u'name': u'logrus'}) 

TASK [role_under_test : Go-Lang | Run get commands with modules] ***************
skipping: [localhost] => (item={u'url': u'github.com/xanzy/go-gitlab', u'name': u'go-gitlab'}) 
skipping: [localhost] => (item={u'url': u'github.com/golang/dep/cmd/dep', u'modules': False, u'name': u'dep'}) 
ok: [localhost] => (item={u'url': u'github.com/sirupsen/logrus', u'modules': True, u'name': u'logrus'})

TASK [role_under_test : Go-Lang | Run get commands without modules] ************
skipping: [localhost] => (item={u'url': u'github.com/xanzy/go-gitlab', u'name': u'go-gitlab'}) 
ok: [localhost] => (item={u'url': u'github.com/golang/dep/cmd/dep', u'modules': False, u'name': u'dep'})
skipping: [localhost] => (item={u'url': u'github.com/sirupsen/logrus', u'modules': True, u'name': u'logrus'})