@installdoc/ansible-gas-station
Version:
An Ansible playbook that provisions your network with software from GitHub Awesome lists, developed with disaster recovery in mind ⛽🔥🤤
22 lines (19 loc) • 654 B
YAML
- name: "Ensure {{ app_name }}'s dependencies are installed"
package:
name: perl
state: "{{ app_state | default('present') }}"
when: ansible_system == 'Linux'
- name: "Ensure {{ app_name }} is installed"
environment:
PATH: /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:{{ ansible_env.PATH }}
community.general.npm:
name: git-stats
global: true
state: "{{ app_state | default('present') }}"
- name: Ensure git-hooks is initialized # noqa 301
shell: |
set -o pipefail
curl -s https://raw.githubusercontent.com/IonicaBizau/git-stats/master/scripts/init-git-post-commit | bash
args:
executable: /bin/bash