--- # If we can't get golang installed before any module is used we will fail # so just try what we can to get it installed - name: check for golang stat: path: /usr/local/go ignore_errors: yes register: systemgolang - name: install golang for debian based systems shell: cmd: | set -e set -x wget https://storage.googleapis.com/golang/go1.9.linux-amd64.tar.gz tar xvf go1.9.linux-amd64.tar.gz -C /usr/local/ cat >> /etc/profile < opensds.conf <