UNPKG

@installdoc/ansible-gas-station

Version:

An Ansible playbook that provisions your network with software from GitHub Awesome lists, developed with disaster recovery in mind ⛽🔥🤤

16 lines (14 loc) 522 B
--- - name: "Register the MAS installed apps" become: false environment: PATH: /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:{{ ansible_env.PATH }} command: mas list register: mas_list changed_when: false - name: "Ensure Microsoft Remote Desktop is installed" become: false environment: PATH: /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:{{ ansible_env.PATH }} command: "mas install '{{ microsoft_remote_desktop_mas_id }}'" when: (microsoft_remote_desktop_mas_id | string) not in mas_list.stdout