Install FPM for Linux.
platforms:
- name: Fedora
versions:
- 33
- name: Ubuntu
versions:
- xenial
- bionic
- focal
- name: Debian
version:
- oldstable
- stable
- name: EL (CentOS)
versions:
- 8
- name: opensuse
vesrion:
- tumbleweed
- 15.2
# - name: ArchLinux
# version:
# - any
None.
# "User install" is default, because https://ru.stackoverflow.com/a/907613/191416
# fpm_method_install: system
fpm_method_install: user
# fpm_docs_install: no
fpm_docs_install: yes
# By default, the latest version from https://rubygems.org/gems/fpm is installed.
# fpm_version: x.y.z
None.
Install latest
FPM with help files in ~/.gem
on Linux:
install-fpm.yml
:
- name: Install FPM
hosts: all
strategy: free
serial:
- "100%"
roles:
- ansible-role-install-fpm
tasks:
Install FPM v1.10.0
without help files on Linux:
install-fpm.yml
:
- name: Install FPM
hosts: all
strategy: free
serial:
- "100%"
roles:
- ansible-role-install-fpm
vars:
fpm_version: 1.10.0
fpm_docs_install: no
tasks:
Apache License, Version 2.0
Add tests.- Add more tests.
- Add ArchLinux support.