-admin権限でreadonlyのユーザーをAnsible用に作成
<NetApp>
ONTAP9.12.1P5 FAS2750
<Python関連> ansible 6.2.0 ansible-core 2.13.3 netapp-lib 2020.3.12
<ansible-galaxy関連>※モジュールコレクションのことです netapp.ontap 21.21.0
Admin edit with subject translation:
Specifying the module with "all" will result in an error.
... View more
Hello Community, Getting below error while importing the ONTAP module, please help. PS C:\Program Files\WindowsPowerShell\Modules\NetApp.ONTAP> Import-Module .\NetApp.ONTAP.psd1 Import-Module : Could not load file or assembly 'file:///C:\Program Files\WindowsPowerShell\Modules\NetApp.ONTAP\OntapiPS.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515) At line:1 char:1 + Import-Module .\NetApp.ONTAP.psd1 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (:) [Import-Module], FileLoadException + FullyQualifiedErrorId : FormatXmlUpdateException,Microsoft.PowerShell.Commands.ImportModuleCommand Regards, Kabir
... View more
I couldn't modify raid size with ansible. Below is my playbook example. what could be reason ? On test purpose current raid size is 17 and i'm trying to change it to 24 tasks: - name: Modify aggregate raid size na_ontap_aggregate: state: present name: aggr_test raid_size: 24 nodes: test_node time_out: 300 <<: *login
... View more
Hi, I want to manage the netapp user quotas via ansible. I have tried the following. - name: Add/Set quota rule for type user netapp.ontap.na_ontap_quotas: state: present vserver: testsvm3 volume: test2 quota_target: "542,751" type: user disk_limit: 300MB set_quota_status: True At second run ansible complains. Is there a workaround for missing idempotency, as I want to run the code in a pileline ? TASK [Add/Set quota rule for type user] ************************************************************************************************************************************ fatal: [localhost]: FAILED! => {"changed": false, "msg": "Error on creating quotas rule: calling: storage/quota/rules: got {'message': 'duplicate entry', 'code': '1', 'target': 'uuid'}."} Thanks in advance. BR Thomas
... View more