@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) • 577 B
YAML
- name: Include variables based on the operating system
include_vars: "{{ ansible_os_family }}.yml"
when: ansible_os_family != 'Windows'
# @action Ensures Extensions are setup
# Installs GNOME Extensions on Linux Systems
# @action Ensures Extensions are setup
# Installs Quick Look plugins on MacOS Systems
- name: Loop through the users in the configuration
include_tasks: user.yml
loop: "{{ user_configs }}"
loop_control:
label: "{{ user.username }}"
loop_var: user
when:
- not (user.system | default(false))
- ansible_os_family != 'Windows'