ibmcloud ansible collection
1.0.3 - March 2024
Diese Sammlung ermöglicht Interaktionen mit IBM Cloud VPC, klassischer Infrastruktur usw. Module verbrauchen Ressourcen und stellen sicher, dass die Idempotenz ordnungsgemäß respektiert wird.
Diese Sammlung nutzt das IBM Cloud Python SDK
Es sind IBM Cloud-API-Schlüssel erforderlich. Informationen zum Einrichten von Schlüsseln finden Sie in der offiziellen IBM Cloud-Dokumentation.
Um Anmeldeinformationen einzurichten, lesen Sie bitte die Dokumentation erneut.
ibmcloud-python-sdk
>= 1.0.0
ansible
>= 2.9
$ pip install ansible ibmcloud-python-sdk
$ ansible-galaxy collection install goldyfruit.ibmcloud_automation
Die Sammlung wird automatisch im Verzeichnis ~/.ansible/collections/ansible_collections/goldyfruit/
installiert.
---
- hosts : localhost
connection : local
gather_facts : no
collections :
- goldyfruit.ibmcloud_automation
vars :
ibmcloud_file : " {{ lookup('env','HOME') }}/.ibmcloud/clouds.yaml "
environment :
IC_CONFIG_FILE : " {{ ibmcloud_file }} "
tasks :
- import_role :
name : quickstart
---
- hosts : localhost
connection : local
gather_facts : no
collections :
- goldyfruit.ibmcloud_automation
vars :
ibmcloud_file : " {{ lookup('env','HOME') }}/.ibmcloud/clouds.yaml "
environment :
IC_CONFIG_FILE : " {{ ibmcloud_file }} "
tasks :
- import_role :
name : quickstart_image