Add tool: AsgardCMS cli installer

This commit is contained in:
cytopia
2018-08-19 20:40:07 +02:00
parent cfc06a1458
commit d5d07d0620
8 changed files with 42 additions and 0 deletions

View File

@@ -199,6 +199,7 @@ software_enabled:
- composer
# Normal packages start here
- ansible
- asgardcms
- awesomeci
- codeception
- drush
@@ -288,6 +289,13 @@ apt_repositories_available:
# pre: [optional] Run command after 'command:' statement
#
software_available:
asgardcms:
disabled: [5.2, 5.3, 5.4]
check: asgardcms --version 2>/dev/null | grep -Ei 'AsgardCMS\sInstaller\s[.0-9]+'
all:
command: |
COMPOSER_HOME="{{ compose_home }}" composer global require asgardcms/asgardcms-installer \
&& ln -s {{ compose_home }}/vendor/asgardcms/asgardcms-installer/asgardcms /usr/local/bin/asgardcms \
ansible:
check: ansible --version | grep -E '^ansible [.0-9]+$'
all: