Install gcloud cli via apt repo instead

This commit is contained in:
Gene Liverman 2022-06-27 17:02:07 -04:00
parent ba1fcf62a5
commit 166a2716cc
No known key found for this signature in database
GPG key ID: 3AF83985B6C857C6

View file

@ -6,7 +6,7 @@
tasks: tasks:
- name: Add 1Password apt signing key - name: Add 1Password apt signing key
include_role: ansible.builtin.include_role:
name: jack1142.apt_signing_key name: jack1142.apt_signing_key
vars: vars:
url: https://downloads.1password.com/linux/keys/1password.asc url: https://downloads.1password.com/linux/keys/1password.asc
@ -21,8 +21,23 @@
filename: 1password filename: 1password
update_cache: false update_cache: false
- name: Add Google Cloud apt key
become: true
ansible.builtin.apt_key:
url: https://packages.cloud.google.com/apt/doc/apt-key.gpg
keyring: /usr/share/keyrings/cloud.google.gpg
state: present
- name: Add Google apt repo
become: true
ansible.builtin.apt_repository:
repo: deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main
state: present
filename: google-cloud-sdk
update_cache: false
- name: Add Okta ASA client apt signing key - name: Add Okta ASA client apt signing key
include_role: ansible.builtin.include_role:
name: jack1142.apt_signing_key name: jack1142.apt_signing_key
vars: vars:
url: https://dist.scaleft.com/pki/scaleft_deb_key.asc url: https://dist.scaleft.com/pki/scaleft_deb_key.asc
@ -52,7 +67,7 @@
update_cache: false update_cache: false
- name: Add Tailscale apt signing key - name: Add Tailscale apt signing key
include_role: ansible.builtin.include_role:
name: jack1142.apt_signing_key name: jack1142.apt_signing_key
vars: vars:
url: https://pkgs.tailscale.com/stable/ubuntu/jammy.noarmor.gpg url: https://pkgs.tailscale.com/stable/ubuntu/jammy.noarmor.gpg
@ -112,6 +127,8 @@
- git - git
- git-lfs - git-lfs
- gnupg - gnupg
- google-cloud-cli
- google-cloud-cli-gke-gcloud-auth-plugin
- htop - htop
- httpie - httpie
- hub - hub
@ -217,7 +234,6 @@
classic: true classic: true
name: name:
- gitkraken # official version - gitkraken # official version
- google-cloud-cli # official version
- name: Cider from Snapcraft - name: Cider from Snapcraft
become: true become: true