tschifftner.n98_magerun
Ansible Role: Install n98-magerun
Installs n98-magerun / n98-magerun2 on Debian/Ubuntu linux servers.
The n98 magerun cli tools provides some handy tools to work with Magento from command line.
Requirements
PHP must be installed for n98-magerun to function!
Role Variables
Available variables are listed below, along with default values (see defaults/main.yml
):
n98_magerun_files:
- name: 'n98-magerun for Magento 1'
url: 'http://files.magerun.net/n98-magerun-latest.phar'
checksum: 'md5:a92a965aa5a66d93f6b7f5c578ac9d3a'
install: true
dest: '/usr/local/bin/n98-magerun'
- name: 'n98-magerun2 for Magento 2'
url: 'http://files.magerun.net/n98-magerun2-latest.phar'
checksum: 'md5:a0fefb45c3b5b8f6d014a37752e5fa37'
install: true
dest: '/usr/local/bin/n98-magerun2'
Checksum is not required but highly recommended for security reasons!
n98-magerun plugins
Plugins can be installed globally as well. Be careful who you trust!
# This will install the below plugins automatically
n98_magerun_install_default_repositories: true
n98_magerun_plugin_default_repositories:
- repo: 'https://github.com/cmuench/cmuench-magerun-addons.git'
dest: 'cmuench.magerun-addons'
- repo: 'https://github.com/peterjaap/magerun-addons.git'
dest: 'peterjaap.magerun-addons'
- repo: 'https://github.com/aleron75/Webgriffe_Golive.git'
dest: 'aleron75.Webgriffe_Golive'
- repo: 'https://github.com/kalenjordan/magerun-addons.git'
dest: 'kalenjordan.magerun-addons'
- repo: 'https://github.com/AOEpeople/mpmd.git'
dest: 'AOEpeople.mpmd'
- repo: 'https://github.com/fruitcakestudio/magerun-modman.git'
dest: 'fruitcakestudio.magerun-modman'
- repo: 'https://github.com/tschifftner/magerun-addons.git'
dest: 'tschifftner.magerun-addons'
# Define your own repositories
n98_magerun_plugin_repositories: []
Dependencies
None.
Installation
$ ansible-galaxy install tschifftner.n98-magerun
Example Playbook
- hosts: server
roles:
- { role: tschifftner.n98-magerun }
Supported OS
- Debian 9 (Stretch)
- Debian 8 (Jessie)
- Ubuntu 18.04 (Bionic Beaver)
- Ubuntu 16.04 (Xenial Xerus)
Required ansible version
Ansible 2.5+
License
Author Information
About
Installs n98-magerun/n98-magerun2 on Debian/Ubuntu linux servers. PHP is required for n98-magerun to function!
Install
ansible-galaxy install tschifftner.n98_magerun
License
mit
Downloads
1.6k
Owner
Kubernetes Software Architekt, Magento Certified Developer und Full-Stack Entwickler