Add loop for updates
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Chris Hammer 2024-03-01 08:54:46 -05:00
parent df89b4306f
commit 78c47af393
2 changed files with 2 additions and 0 deletions

View File

@ -4,3 +4,4 @@ node_status_user : chris
node_status_group : chris
node_status_dir : /home/chris/node_status
node_status_file : status.csv
node_status_lc : 3

View File

@ -30,5 +30,6 @@
group : "{{ node_status_group }}"
delegate_to : "{{ node_status_host }}"
throttle : 1
loop: "{{ range(0, node_status_lc) | list }}"
loop_control:
loop_var : node_status_log_loop