OndrejHome.targetcli-modules
targetcli-modules
These are modules for using the targetcli command line tool.
Requirements
You need to have the targetcli tool installed on your machine.
Role Variables
There are no variables for this role. It's meant to be used as a helper or dependency in other roles.
Provided Modules
targetcli_backstore: Create or delete backstore objects in the '/backstore' directory.
targetcli_iscsi: Create or delete iSCSI objects in the '/iscsi' directory.
targetcli_iscsi_lun: Add or remove LUNs (Logical Unit Numbers) to/from iSCSI objects in the path '/iscsi/.../tpg1/luns'.
targetcli_iscsi_acl: Add or remove ACLs (Access Control Lists) to/from iSCSI objects in the path '/iscsi/.../tpg1/acls'.
targetcli_iscsi_portal: Add or remove portals to/from iSCSI objects in the path '/iscsi/.../tpg1/portals'.
Example Playbook
Here's an example of how to use these modules in your playbook:
- hosts: servers
roles:
- { role: 'OndrejHome.targetcli-modules' }
License
This module is licensed under GPLv3.
Author Information
To contact the author, you can send an email to ondrej-xa2iel8u@famera.cz or open an issue on GitHub to request a feature.
ansible-galaxy install OndrejHome.targetcli-modules