-
Notifications
You must be signed in to change notification settings - Fork 0
Setup
The whole installation part is needed only when using pure Ansible and can be skipped when using AWX/Tower/RedHat Automation Controller.
If you plan to use AWX/Tower/RedHat Automation Controller go on with "Open-AudIT configuration".
Installing directly from ansible galaxy is likely the easiest way and recommended.
For installing into your default ansible collections path:
ansible-galaxy collection install sedi.openaudit
If you want to install in a different collections path (must be enabled in your ansible.cfg):
ansible-galaxy collection install sedi.openaudit [-p <collection-path>]
If you cannot or do not want to install from Ansible Galaxy you can always use the git way as well.
For installing into your default ansible collections path:
ansible-galaxy collection install git+https://github.com/secure-diversITy/ansible_openaudit
If you want to install in a different collections path (must be enabled in your ansible.cfg):
ansible-galaxy collection install git+https://github.com/secure-diversITy/ansible_openaudit [-p <collection-path>]
- Create a specific API user account (
Users -> Create User) - Ensure you set proper permissions:
-
Roles (
*indicates mandatory permission, rest depends on what you want to do later):- Endpoint devices:
Create, Read*, Update, Delete - Endpoint orgs:
Create, Read*, Update, Delete - Endpoint locations:
Create, Read*, Update, Delete - Hint: when using the community edition which does not allow to create custom roles, you have to use one of the following available roles:
-
user: when using the dynamic inventory only -
org_admin: if you want to use the action plugin (e.g. add, update a device etc)
-
- Endpoint devices:
-
Organisations (checkbox list):
Grant permission to all orgs this account should has access to. Note: selecting a parent will automatically provide access to its children (although it won't be indicated here).
-
Roles (
You need these created credentials for the next steps in "Module configuration"