File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
roles/pulp_repository/tasks Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 3535 url : " {{ item.url | default(omit) }}"
3636 state : " {{ item.state }}"
3737 with_items : " {{ pulp_repository_container_repos }}"
38- when : item.url is defined
38+ when : item.state == "absent" or item. url is defined
3939 loop_control :
4040 label : " {{ item.name }}"
4141
Original file line number Diff line number Diff line change 3535 url : " {{ item.url | default(omit) }}"
3636 state : " {{ item.state }}"
3737 with_items : " {{ pulp_repository_deb_repos }}"
38- when : item.url is defined
38+ when : item.state == "absent" or item. url is defined
3939 loop_control :
4040 label : " {{ item.name }}"
4141
Original file line number Diff line number Diff line change 3535 url : " {{ item.url | default(omit) }}"
3636 state : " {{ item.state }}"
3737 with_items : " {{ pulp_repository_python_repos }}"
38- when : item.url is defined
38+ when : item.state == "absent" or item. url is defined
3939 loop_control :
4040 label : " {{ item.name }}"
4141
Original file line number Diff line number Diff line change 3232 url : " {{ item.url | default(omit) }}"
3333 state : " {{ item.state }}"
3434 with_items : " {{ pulp_repository_rpm_repos }}"
35- when : item.url is defined
35+ when : item.state == "absent" or item. url is defined
3636 loop_control :
3737 label : " {{ item.name }}"
3838
You can’t perform that action at this time.
0 commit comments