@installdoc/ansible-gas-station
Version:
An Ansible playbook that provisions your network with software from GitHub Awesome lists, developed with disaster recovery in mind ⛽🔥🤤
14 lines (12 loc) • 408 B
YAML
# @action Ensures software is installed
# Installs role from Ansible Galaxy
- name: "Ensure role {{ software_item }} is installed on the controller"
become: false
command: "ansible-galaxy install {{ software_item }}"
args:
creates: "~/.ansible/roles/{{ software_item }}"
delegate_to: localhost
- name: "Ensure role {{ software_item }} is run"
include_role:
name: "{{ software_item }}"