@installdoc/ansible-gas-station
Version:
An Ansible playbook that provisions your network with software from GitHub Awesome lists, developed with disaster recovery in mind ⛽🔥🤤
19 lines (17 loc) • 580 B
YAML
- name: Include variables based on the operating system
include_vars: "{{ ansible_os_family }}.yml"
when: ansible_os_family == 'Darwin'
# @action Ensures Xcode is installed
# Installs Xcode on macOS
# @action Ensures Xcode is configured
# Accepts Xcode License
# @action Ensures Xcode is configured
# Executes Xcode first run
# @action Ensures Xcode is configured
# Installs xcpretty if configured
- name: Include tasks based on the operating system
become: true
block:
- include_tasks: "install-{{ ansible_os_family }}.yml"
when: ansible_os_family == 'Darwin'