fix-regex #19

Merged
noah.knegt merged 2 commits from fix-regex into master 2023-03-31 12:04:55 +02:00
Showing only changes of commit 1385f93fb1 - Show all commits

View File

@@ -19,7 +19,7 @@
state: present state: present
- name: Check if latest version is stable - name: Check if latest version is stable
shell: "curl -s https://api.github.com/repos/docker/cli/tags | jq -r '.[{{ item }}].name' | grep -E -o '[0-9]+\\.[0-9]+\\.[0-9]+\\-'" shell: "curl -s https://api.github.com/repos/docker/cli/tags | jq -r '.[{{ item }}].name' | grep -E -o '[0-9]+\\.[0-9]+\\.[0-9]+\\-?'"
register: docker_latest_version register: docker_latest_version
loop: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] loop: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
until: docker_latest_version.stdout.find('-') == -1 until: docker_latest_version.stdout.find('-') == -1