UNPKG

@installdoc/ansible-gas-station

Version:

An Ansible playbook that provisions your network with software from GitHub Awesome lists, developed with disaster recovery in mind ⛽🔥🤤

22 lines (19 loc) 586 B
--- - name: "Ensure {{ app_name }} is built" command: go install github.com/gabrie30/ghorg@latest args: creates: "{{ ghorg_goroot }}/bin/ghorg" environment: GOPATH: "{{ ghorg_goroot }}" - name: "Ensure {{ app_name }} is linked" file: src: "{{ ghorg_goroot }}/bin/ghorg" dest: /usr/local/bin/ghorg state: link - name: Run Linux user tasks include_tasks: user-Linux.yml loop: "{{ user_configs }}" loop_control: label: "{{ user.username }}" loop_var: user when: (user.system is not defined) or ((user.system is defined) and (not user.system))