@installdoc/ansible-gas-station
Version:
An Ansible playbook that provisions your network with software from GitHub Awesome lists, developed with disaster recovery in mind ⛽🔥🤤
12 lines (10 loc) • 316 B
YAML
- name: "Ensure Python is installed"
dnf:
name: "{{ python_package }}"
state: present
update_cache: "{{ omit if skip_package_cache_update is defined else 'true' }}"
- name: "Ensure {{ app_name }} is installed"
dnf:
name: "{{ pip_package }}"
state: "{{ app_state | default('present') }}"