This role provide a compliance for install git-lfs on your target host.
This role was developed using Ansible 2.5 Backwards compatibility is not guaranteed.
Use ansible-galaxy install diodonfrost.git_lfs
to install the role on your system.
- Ansible >= 2.8
- Python >= 2.7
Supported platforms:
- name: EL
versions:
- 8
- 7
- 6
- name: Fedora
versions:
- 32
- 31
- 30
- 29
- 28
- 27
- 26
- name: Debian
versions:
- buster
- stretch
- jessie
- name: Ubuntu
versions:
- disco
- bionic
- xenial
- trusty
- name: OracleLinux
versions:
- 8
- 7
- 6
- name: Amazon
versions:
- 2017.12
- 2016.03
- name: ArchLinux
versions:
- any
- name: Alpine
versions:
- any
- name: Gentoo
versions:
- stage3
- name: FreeBSD
versions:
- 11.0
- 12.0
- name: OpenBSD
versions:
- 6.0
- name: MacOSX
versions:
- 10.14
- 10.15
- name: Windows
versions:
- 2016
- 2012R2
- 2008R2
- 8.1
None
This is a sample playbook file for deploying the Ansible Galaxy diodonfrost.git_lfs role in a localhost and installing the latest version of git-lfs.
---
- hosts: localhost
become: true
roles:
- role: diodonfrost.git_lfs
This project uses Molecule to aid in the development and testing.
To develop or test you'll need to have installed the following:
- Linux (e.g. Ubuntu)
- Docker
- Python (including python-pip)
- Ansible
- Molecule
- Virtualbox (windows/bsd test only)
- Vagrant (windows/bsd test only)
# Test ansible role with centos-8
image=ansible-centos:8 molecule test
# Test ansible role with ubuntu-20.04
image=ansible-ubuntu:20.04 molecule test
# Test ansible role with alpine-rolling
image=ansible-alpine:latest molecule test
# Create centos-7 instance
image=ansible-centos:7 molecule create
# Apply role on centos-7 instance
image=ansible-centos:7 molecule converge
# Launch tests on centos-7 instance
image=ansible-centos:7 molecule verify
# Test ansible role with FreeBSD
molecule test -s freebsd
# Test ansible role with OpenBSD
molecule test -s openbsd
# Test ansible role with Windows
molecule test -s windows
Apache 2
This role was created in 2020 by diodonfrost.