main.yml 241 B

12345678910
  1. ---
  2. - name: Install SLURM RPMs on compute
  3. yum:
  4. name: "{{ item }}"
  5. #name: "{{ query('fileglob', ['/home/rpms/slurm*20*.rpm']) }}" <-- how it should work to avoid loop
  6. with_fileglob:
  7. - /home/rpms/slurm*20*.rpm
  8. tags: install