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

17 lines (15 loc) 598 B
--- - name: Include variables based on the operating system include_vars: "{{ ansible_os_family }}.yml" when: ansible_os_family != 'Windows' # @action Ensures nb is installed # Installs nb on Archlinux, CentOS, Debian, Fedora, macOS and Ubuntu # @action Ensures nb is installed # Installs nb completions - name: Include tasks based on the operating system become: true become_method: "{{ 'runas' if ansible_os_family == 'Windows' else 'sudo' }}" become_user: "{{ ansible_user }}" block: - include_tasks: "install-{{ ansible_os_family }}.yml" when: ansible_os_family != 'Windows'