@installdoc/ansible-gas-station
Version:
An Ansible playbook that provisions your network with software from GitHub Awesome lists, developed with disaster recovery in mind ⛽🔥🤤
11 lines (9 loc) • 395 B
YAML
- name: "Ensure {{ app_name }} is installed"
chocolatey.chocolatey.win_chocolatey:
name: "{{ python_package }}"
state: "{{ app_state | default('present') }}"
- name: Ensure global pip packages are installed
ansible.windows.win_shell: "pip install -U {{ pip_packages | default([]) | map(attribute='name') | join(' ') }}"
when: (pip_packages | length > 0)
ignore_errors: true