@installdoc/ansible-gas-station
Version:
An Ansible playbook that provisions your network with software from GitHub Awesome lists, developed with disaster recovery in mind ⛽🔥🤤
12 lines (11 loc) • 462 B
YAML
# @action Performs Disk management tasks
# Sets label on the Partitions
# @action Performs Disk management tasks
# Ensures that the partitions are mounted on startup
- name: Include tasks based on the operating system
become: true
become_method: "{{ 'runas' if ansible_os_family == 'Windows' else 'sudo' }}"
become_user: "{{ ansible_user if ansible_os_family == 'Windows' else omit }}"
block:
- include_tasks: "setup-{{ ansible_os_family }}.yml"