Debian Codegraph @

ansible_collections/google/cloud/roles/gcloud/README.md

raw
1 # google.cloud.gcloud
2
3 This role installs the gcloud command-line tool on a linux system.
4
5 ## Requirements
6
7 ### Debian
8
9 None
10
11 ### Ubuntu
12
13 None
14
15 ### CentOS
16
17 - epel (if using archive installation)
18
19 ## Role Variables
20
21 All variables which can be overridden are stored in defaults/main.yml file as well as in table below.
22
23 | Variable | Required | Default | Comments |
24 | ------------------------------ | -------- | -------------------------------------------------------------------------------------- | ---------------------------------------------------------- |
25 | `gcloud_install_type` | No | `package` | Type of install `package` or `archive` |
26 | `gcloud_apt_url` | No | `http://packages.cloud.google.com/apt` | URL of the APT Repository |
27 | `gcloud_apt_key` | No | `https://packages.cloud.google.com/apt/doc/apt-key.gpg` | GPG Key for the APT Repository |
28 | `gcloud_apt_repo` | No | `cloud-sdk-{{ ansible_distribution_release }}` | Name of the APT Repository |
29 | `gcloud_yum_baseurl` | No | `https://packages.cloud.google.com/yum/repos/cloud-sdk-el7-x86_64` | URL of the YUM Repository |
30 | `gcloud_yum_key` | No | `https://packages.cloud.google.com/yum/doc/yum-key.gpg` | GPG Key for the YUM Repository |
31 | `gcloud_version` | No | `268.0.0` | Version of google-cloud-sdk to install |
32 | `gcloud_archive_name` | No | `google-cloud-sdk-{{ gcloud_version }}-linux-{{ ansible_architecture }}.tar.gz` | Full length name of gcloud archive |
33 | `gcloud_archive_url` | No | `https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/{{ gcloud_archive_name }}` | URL to download the gcloud archive |
34 | `gcloud_archive_path` | No | `/usr/lib` | Where should we unpack the archive |
35 | `gcloud_library_path` | No | `{{ gcloud_archive_path }}/google-cloud-sdk` | Path of the library after archive unpack |
36 | `gcloud_install_script` | No | `false` | Boolean: Execute install.sh from archive |
37 | `gcloud_usage_reporting` | No | `false` | Boolean: Disable anonymous usage reporting. |
38 | `gcloud_profile_path` | No | `false` | Profile to update with PATH and completion. |
39 | `gcloud_command_completion` | No | `false` | Boolean: Add a line for command completion in the profile |
40 | `gcloud_update_path` | No | `false` | Boolean: Add a line for path updating in the profile |
41 | `gcloud_override_components` | No | `[]` | Override the components that would be installed by default |
42 | `gcloud_additional_components` | No | `[]` | Additional components to installed |
43
44 ## Example Playbook
45
46 ```yaml
47 - hosts: servers
48 roles:
49 - role: google.cloud.gcloud
50 ```
51
52 ## License
53
54 MIT
55
56 ## Author Information
57
58 [ericsysmin](https://ericsysmin.com)