diff options
-rw-r--r-- | packer/provision/local-docker.yaml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/packer/provision/local-docker.yaml b/packer/provision/local-docker.yaml index 3290c10eb..31369b99d 100644 --- a/packer/provision/local-docker.yaml +++ b/packer/provision/local-docker.yaml @@ -38,3 +38,25 @@ name: libxml2-utils state: present become: true + + - name: Add Google Chrome key + apt-key: + url: https://dl-ssl.google.com/linux/linux_signing_key.pub + state: present + become: true + + - name: Add Google Chrome repo + copy: content="deb http://dl.google.com/linux/chrome/deb/ stable main" dest={{apt_file}} owner=root group=root mode=644 + when: google_apt_exists.rc == 1 + become: true + + - name: Update apt cache + apt: update_cache=yes + when: google_apt_exists.rc == 1 + become: true + + - name: Install Google Chrome + apt: + name: pkg=google-chrome-stable state=installed + state: installed + become: true |