Added new role

This commit is contained in:
2021-11-02 21:48:41 +01:00
parent 193eae637f
commit 30d3cf835d
26 changed files with 328 additions and 1 deletions

View File

@ -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