@installdoc/ansible-gas-station
Version:
An Ansible playbook that provisions your network with software from GitHub Awesome lists, developed with disaster recovery in mind ⛽🔥🤤
22 lines (19 loc) • 598 B
YAML
- name: Include variables based on the operating system
include_vars: "{{ ansible_os_family }}.yml"
# @action Configures dotfiles
# Configures user profile settings
# @action Configures dotfiles
# Configures git-send-email configuration
- name: Ensure git packages are installed
become: true
package:
name: "{{ git_send_email_packages }}"
state: present
when: ansible_system == 'Linux'
- name: Loop through users and add dotfiles
include_tasks: user-continue.yml
loop: "{{ user_configs | default([]) }}"
loop_control:
label: "{{ user.username }}"
loop_var: user