@installdoc/ansible-gas-station
Version:
An Ansible playbook that provisions your network with software from GitHub Awesome lists, developed with disaster recovery in mind ⛽🔥🤤
27 lines (24 loc) • 863 B
YAML
- name: "Ensure {{ app_name }} is installed"
become: true
become_user: "{{ ansible_user }}"
community.general.homebrew_cask:
name: virtualbox
state: present
sudo_password: "{{ ansible_password }}"
accept_external_apps: "{{ allow_external_apps | default(false) }}"
- name: "Ensure {{ app_name }} Extension pack is installed"
become: true
become_user: "{{ ansible_user }}"
community.general.homebrew_cask:
name: virtualbox-extension-pack
state: present
sudo_password: "{{ ansible_password }}"
accept_external_apps: "{{ allow_external_apps | default(false) }}"
- name: Run user configuration tasks
include_tasks: user-Linux.yml
loop: "{{ user_configs }}"
loop_control:
label: "{{ user.username }}"
loop_var: user
when: (user.system is not defined) or ((user.system is defined) and (not user.system))