Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,40 @@ export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
itential.platform.restart_application:
```

- **set_adapter_log_level**: Change the log level/transport of an adapter.

```yaml
- name: Restart Itential Platform application
itential.platform.restart_applications:
```

### Misc
- **auth_token**: Retrieves the auth token from an Itential Platform system

```yaml
- name: Retrieve auth token
itential.platform.auth_token:
```

- **generic_request**: Makes an api reqeust given a method and endpoint

```yaml
- name: Retrieve authorization accounts
itential.platform.generic_request:
method: GET
endpoint: "/authorization/accounts"
```

## Module Utils

This collection includes 3 utils which are used by the action plugins.

- **host**: A schema used to gather information from the ansible_task vars.

- **login**: A utility that authenticates with the platform and returns the authentication token.

- **request**: A utility that authenticates then constructs and sends an api request. Takes task_vars, method, endpoint, params, and data as arguments.

### Connection Parameters

Each module requires the following connection parameters which can be defined in your Ansible environment:
Expand Down