Skip to content

Commit

Permalink
Fix regex
Browse files Browse the repository at this point in the history
  • Loading branch information
geonmo committed Nov 28, 2022
1 parent 3d9314e commit 0b873dc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tasks/htcondor-ce.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@
notify: reconfigure htcondor_ce

- name: Change LRMS Collector location if htcondor_ce_lrm_collector_is_set
replace:
lineinfile:
path: /etc/condor-ce/config.d/02-ce-condor.conf
regexp: "JOB_ROUTER_SCHEDD2_POOL=(*):9618"
replace: "JOB_ROUTER_SCHEDD2_POOL={{ htcondor_ce_lrms_collector }}:9618"
regexp: "JOB_ROUTER_SCHEDD2_POOL=*"
line: "JOB_ROUTER_SCHEDD2_POOL={{ htcondor_ce_lrms_collector }}:9618"
when:
- htcondor_ce_lrms_collector is defined
- htcondor_ce_batch_system == "condor"
Expand Down

0 comments on commit 0b873dc

Please sign in to comment.