Skip to content

Commit

Permalink
Rename activation module to rulebook_activation. Rename activation_in…
Browse files Browse the repository at this point in the history
…fo module to rulebook_activation_info.

Signed-off-by: Alina Buzachis <abuzachis@redhat.com>
  • Loading branch information
alinabuzachis committed Sep 16, 2024
1 parent 7b7bd5e commit bbb0e5f
Show file tree
Hide file tree
Showing 5 changed files with 420 additions and 14 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,21 +79,21 @@ You can either call modules, rulebooks and playbooks by their Fully Qualified Co
```yaml
---
- name: Create a rulebook activation
ansible.eda.activation:
ansible.eda.rulebook_activation:
name: "Example Activation"
description: "Example Activation description"
project: "Example Project"
rulebook_name: "basic_short.yml"
decision_environment_name: "Example Decision Environment"
enabled: False
awx_token_id: 1
awx_token_name: "Example AWX Token"

- name: Get information about the rulebook activation
ansible.eda.activation_info:
ansible.eda.rulebook_activation_info:
name: "Example Activation"

- name: Delete rulebook activation
ansible.eda.activation:
ansible.eda.rulebook_activation:
name: "Example Activation"
state: absent
```
Expand Down
18 changes: 18 additions & 0 deletions meta/runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,22 @@ action_groups:
- event_stream_info
- project
- project_info
- rulebook_activation
- rulebook_activation_info
- user
plugin_routing:
modules:
activation:
redirect: ansible.eda.rulebook_activation
deprecation:
removal_version: 4.0.0
warning_text: >-
activation has been renamed to rulebook_activation.
Please update your tasks.
activation_info:
redirect: ansible.eda.rulebook_activation_info
deprecation:
removal_version: 4.0.0
warning_text: >-
activation_info has been renamed to rulebook_activation_info.
Please update your tasks.
Loading

0 comments on commit bbb0e5f

Please sign in to comment.