yeoldegrove / yeoldegrove.targetcli / 6.0.0 / module / targetcli_iscsi TargetCLI iSCSI target module | "added in version" 2.0 of yeoldegrove.targetcli" Authors: Ondrej Famera (@OndrejHome) preview | supported by communityyeoldegrove.targetcli.targetcli_iscsi (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 objects in targetcli ('/iscsi').
- name: define new iscsi target targetcli_iscsi: wwn: 'iqn.1994-05.com.redhat:data' attributes: 'demo_mode_write_protect=0'
- name: remove existing target targetcli_iscsi: wwn: 'iqn.1994-05.com.redhat:hell' state: 'absent'
wwn: default: null description: - WWN of iSCSI target 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 attributes: default: null description: - Attributes for the defined target required: false type: str