Skip to content

Commit

Permalink
feat(Azure): Adding azure CLI to base image
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Reinhardt committed Jan 5, 2022
1 parent 1956ae4 commit c00045a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
18 changes: 12 additions & 6 deletions roles/prepare/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
---

- name: Update first
apt:
update_cache: true
upgrade: safe

- name: Install apt-transport-https
apt: name=apt-transport-https state=present
apt:
name: apt-transport-https
state: present

- name: Adding APT Keys
apt_key:
Expand All @@ -14,13 +22,11 @@
state: present
with_items: '{{ apt_repos }}'

- name: Update first
apt:
update_cache: true
upgrade: true

- name: Install common packages
apt: name={{ common_packages }} state=present
apt:
name: "{{ common_packages }}"
state: present

- name: Install git secret
raw: git clone https://github.com/sobolevn/git-secret.git git-secret && cd git-secret && make build && PREFIX="/usr/local" make install
Expand Down
3 changes: 3 additions & 0 deletions roles/prepare/vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,12 @@ common_packages:
- "gettext"
- "git"
- "google-cloud-sdk"
- "azure-cli"
- "htop"
- "libxss1"
- "python3-pip"
- "lsb-release"
- "gnupg"
- "rsync"
- "sudo"
- "unzip"
Expand Down

0 comments on commit c00045a

Please sign in to comment.