@installdoc/ansible-gas-station
Version:
An Ansible playbook that provisions your network with software from GitHub Awesome lists, developed with disaster recovery in mind ⛽🔥🤤
21 lines (18 loc) • 628 B
YAML
- name: "Ensure {{ app_name }}'s yum repository is added"
yum_repository:
baseurl: "{{ gcloud_yum_repo }}"
description: Google Cloud SDK repository
gpgcheck: true
gpgkey: "{{ gcloud_yum_gpg }}"
name: google-cloud-sdk
- name: "Ensure {{ app_name }} is installed"
dnf:
name: google-cloud-sdk
state: "{{ app_state | default('present') }}"
update_cache: "{{ omit if skip_package_cache_update is defined else 'true' }}"
- name: "Ensure {{ app_name }}'s optional components are installed"
dnf:
name: "{{ optional_components }}"
state: present
when: optional_components is defined