playbook.yml 443 B

1234567891011121314151617181920212223
  1. ---
  2. - name: test connection to vagrant boxes
  3. hosts: all
  4. tasks:
  5. - debug: msg=ok
  6. - name: build nebula binaries locally
  7. connection: local
  8. hosts: localhost
  9. tasks:
  10. - command: chdir=../../../ make build/linux-amd64/"{{ item }}"
  11. with_items:
  12. - nebula
  13. - nebula-cert
  14. tags:
  15. - build-nebula
  16. - name: install nebula on all vagrant hosts
  17. hosts: all
  18. become: yes
  19. gather_facts: yes
  20. roles:
  21. - nebula