ibmcloud ansible collection
1.0.3 - March 2024
تتيح هذه المجموعة التفاعلات مع IBM Cloud VPC، وClassic Infrastructure، وما إلى ذلك... سوف تستهلك الوحدات النمطية الموارد وتتأكد من احترام القصور كما ينبغي.
تعمل هذه المجموعة على الاستفادة من IBM Cloud Python SDK
مفاتيح IBM Cloud API مطلوبة، لإعداد المفاتيح، برجاء إلقاء نظرة على وثائق IBM Cloud الرسمية.
لإعداد بيانات الاعتماد، يرجى إعادة قراءة الوثائق.
ibmcloud-python-sdk >= 1.0.0ansible >= 2.9 $ pip install ansible ibmcloud-python-sdk$ ansible-galaxy collection install goldyfruit.ibmcloud_automation سيتم تثبيت المجموعة تلقائيًا في الدليل ~/.ansible/collections/ansible_collections/goldyfruit/ .
---
- 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