yeoldegrove / yeoldegrove.targetcli / 6.0.0 / module / targetcli_iscsi_acl TargetCLI iSCSI ACL module | "added in version" 2.0 of yeoldegrove.targetcli" Authors: Ondrej Famera (@OndrejHome) preview | supported by communityyeoldegrove.targetcli.targetcli_iscsi_acl (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 objects in targetcli ('/iscsi/.../tpg1/acls').
- name: define new iscsi ACL client targetcli_iscsi_acl: wwn: 'iqn.1994-05.com.redhat:data' initiator_wwn: 'iqn.1994-05.com.redhat:client1'
- name: remove iSCSI ACL targetcli_iscsi_acl: wwn: 'iqn.1994-05.com.redhat:data' initiator_wwn: 'iqn.1994-05.com.redhat:client1' 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 auto_add_luns: default: true description: - Automatically map all existing LUNs to this ACL required: false type: bool initiator_wwn: default: null description: - WWN of iSCSI initiator (client) required: true type: str