yeoldegrove / yeoldegrove.targetcli / 6.0.0 / module / targetcli_iscsi_acl_mapped_lun TargetCLI iSCSI ACL module for mapped luns | "added in version" 2.0 of yeoldegrove.targetcli" Authors: Ondrej Famera (@OndrejHome) preview | supported by communityyeoldegrove.targetcli.targetcli_iscsi_acl_mapped_lun (6.0.0) — module
Install with ansible-galaxy collection install yeoldegrove.targetcli:==6.0.0
collections: - name: yeoldegrove.targetcli version: 6.0.0
module for handling iSCSI ACL mapped_lun objects in targetcli ('/iscsi/.../tpg1/acls/.../').
- name: define new iscsi ACL client mapped LUN targetcli_iscsi_acl_mapped_lun: wwn: 'iqn.1994-05.com.redhat:data' initiator_wwn: 'iqn.1994-05.com.redhat:client1' backstore_type: 'block' backstore_name: 'test2' mapped_lun_id: '2'
- name: remove iSCSI ACL mapped LUN targetcli_iscsi_acl_mapped_lun: wwn: 'iqn.1994-05.com.redhat:data' initiator_wwn: 'iqn.1994-05.com.redhat:client1' backstore_type: 'block' backstore_name: 'test2' state: 'absent'
wwn: default: null description: - WWN of iSCSI target (server) required: true type: str state: choices: - present - absent default: present description: - Should the object be present or absent from TargetCLI configuration required: false type: str initiator_wwn: default: null description: - WWN of iSCSI initiator (client) required: true type: str mapped_lun_id: default: null description: - LUN ID of added backstore object (only needed when creating mapped LUN) required: false type: int backstore_name: default: null description: - name of backstore object required: true type: str backstore_type: default: null description: - type of backstore object required: true type: str