私はAzureでAnsibleを使用してリソースグループを作成しようとしています。Azure Module in Ansible
- name: Test the inventory script
hosts: azure
connection: local
gather_facts: no
tasks:
- name: "Create a resource group"
azure_rm_resourcegroup:
location: westus
name: Testing
state: present
tags:
delete: never
testing: testing
コマンド::最新のものにいっそ
ansible-playbook -i ./ansible/contrib/inventory/azure_rm.py rg.yml
返信ありがとうございます。2.2バージョンにアップグレードすると上記のエラーが解決しました。しかし、AzureではResourceGroupが作成されていませんか?私は正しい方法でプレイブックを実行している場合、任意のアイデア? – Md134
質問をしたところ、私は答えました。新しい質問がある場合は、新しい質問をして、すべての関連情報を含めてください。私は "それは動作しません"のコメントに基づいてあなたを助けることはできません。 – techraf