项目作者: teachbase-ansible

项目描述 :
Ansible role for Yandex.Cloud command-line interface (CLI)
高级语言:
项目地址: git://github.com/teachbase-ansible/yc_cli.git
创建时间: 2019-07-17T17:39:10Z
项目社区:https://github.com/teachbase-ansible/yc_cli

开源协议:

下载


YC CLI role for Ansible

Ansible role for Yandex.Cloud command-line interface (CLI)

Requirements

  • Ubuntu 12.04+;
  • Ansible 2.4+

Role Variables

Name Default Value Description
yc_config_user deplo User for which config is generated
yc_token - Yandex.Cloud Token
yc_cloud_id - ID of the cloud to use when executing the command
yc_folder_id - ID of the folder to use when executing the command
yc_compute_default_zone ru-central1-a Default availability zone for the Yandex Compute Cloud service
  1. yc_config_user: deplo
  2. yc_token: AAABBBCCCDDDEEEFFF
  3. yc_cloud_id: aaabbbcccdddeeefff
  4. yc_folder_id: aaabbbcccdddeeefff
  5. yc_compute_default_zone: ru-central1-a

Installation

  1. $ ansible-galaxy install teachbase-ansible.yc_cli

Example Playbook

  1. - hosts: servers
  2. roles:
  3. - { role: teachbase-ansible.yc_cli }

License

MIT