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 ⛽🔥🤤

32 lines (28 loc) 612 B
--- version: '3' tasks: bundle: deps: - catfs catfs: run: once cmds: - task: install vars: PACKAGE: catfs status: - type catfs > /dev/null install: deps: - :install:software:rust vars: BIN: '{{if index . "BIN"}}{{.BIN}}{{else}}{{.PACKAGE}}{{end}}' run: when_changed log: error: Failed to install Cargo crate `{{.PACKAGE}}` start: Installing Cargo crate `{{.PACKAGE}}` success: Installed Cargo crate `{{.PACKAGE}}` cmds: - cargo install {{.PACKAGE}} status: - type {{.BIN}} > /dev/null