Added new role
This commit is contained in:
@ -8,3 +8,12 @@
|
||||
- name: update used version
|
||||
command: uberspace tools version use node {{ node_version }}
|
||||
when: used_node.stdout.find(node_version|string) == -1
|
||||
- name: use PHP
|
||||
when: php_version is defined
|
||||
block:
|
||||
- name: check used version
|
||||
command: uberspace tools version show php
|
||||
register: used_php
|
||||
- name: update used version
|
||||
command: uberspace tools version use php {{ php_version }}
|
||||
when: used_php.stdout.find(php_version|string) == -1
|
||||
|
||||
Reference in New Issue
Block a user