FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
docker11
How-ToDevOps

docker11

via Dev.toQuery Filter5h ago

- name : Artifact download and RPM deployment hosts : artifact_download become : yes gather_facts : yes pre_tasks : - name : " Discovery: Find the newest GComet RPM in /tmp" ansible.builtin.find : paths : " /tmp" patterns : " GComet*.rpm" recurse : yes register : discovered_rpms # Fixed name - name : " Discovery: Process found file" block : - name : " Identify target file" set_fact : target_file_path : " {{ (discovered_rpms.files | sort(attribute='mtime') | last).path }}" - name : " Extract Version and Filename" set_fact : artifacts_file_name : " {{ target_file_path | basename }}" discovered_version : " {{ target_file_path | dirname | basename }}" when : discovered_rpms.matched > 0 - name : " Discovery: Fallback to Harness Env Var if /tmp is empty" set_fact : discovered_version : " {{ lookup('env', 'BUILD_VERSION') }}" artifacts_file_name : " GComet.rpm" target_file_path : " Not found in /tmp (using environment default)" when : discovered_rpms.matched == 0 - name : " Discovery: Map to

Continue reading on Dev.to

Opens in a new tab

Read Full Article
0 views

Related Articles

How-To

Logos Privacy Builders Bootcamp

Reddit Programming • 10h ago

#05 Frozen Pipes
How-To

#05 Frozen Pipes

Dev.to • 15h ago

Replace Doom Scrolling With Intentional Reading
How-To

Replace Doom Scrolling With Intentional Reading

Dev.to • 18h ago

Web Color "Wheel" Chart
How-To

Web Color "Wheel" Chart

Dev.to • 22h ago

How To Submit AJAX Forms with jQuery
How-To

How To Submit AJAX Forms with jQuery

DigitalOcean Tutorials • 1d ago

Discover More Articles