Skip to content

Commit

Permalink
allow setting state for the LCE, allowing deletion of existing ones
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed Aug 30, 2024
1 parent 49e859b commit d1bcd5a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions changelogs/fragments/lce-role-state.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
minor_changes:
- lifecycle_environments role - allow setting ``state`` for the LCE, allowing deletion of existing ones
2 changes: 1 addition & 1 deletion roles/lifecycle_environments/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
description: "{{ item.description | default(omit) }}"
prior: "{{ item.prior }}"
label: "{{ item.label | default(omit) }}"
state: present
state: "{{ item.state | default('present') }}"
with_items:
- "{{ foreman_lifecycle_environments }}"

0 comments on commit d1bcd5a

Please sign in to comment.