Skip to content

Commit

Permalink
Install google-cloud-cli instead of google-cloud-sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
SirGitsalot committed Jan 10, 2025
1 parent d1cf030 commit b1a75cf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions roles/gcloud/meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ galaxy_info:
platforms:
- name: Ubuntu
versions:
- focal
- jammy
- noble
- precise
- trusty
- xenial
Expand Down
10 changes: 5 additions & 5 deletions roles/gcloud/tasks/package/debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,20 @@
ansible.builtin.apt_repository:
repo: deb {{ gcloud_apt_url }} {{ gcloud_apt_repo }} main
state: present
filename: google-cloud-sdk
filename: google-cloud-cli

- name: Gcloud | Debian | Install the google-cloud-sdk package
- name: Gcloud | Debian | Install the google-cloud-cli package
ansible.builtin.apt:
name: google-cloud-sdk
name: google-cloud-cli
update_cache: "yes"
register: task_result
until: task_result is success
retries: 10
delay: 2

- name: Gcloud | Debian | Install the google-cloud-sdk additional components
- name: Gcloud | Debian | Install the google-cloud-cli additional components
ansible.builtin.apt:
name: google-cloud-sdk-{{ item }}
name: google-cloud-cli-{{ item }}
update_cache: "yes"
register: task_result
until: task_result is success
Expand Down

0 comments on commit b1a75cf

Please sign in to comment.