Skip to content

Instantly share code, notes, and snippets.

@daino3
Created February 3, 2018 03:46
Show Gist options
  • Save daino3/740a729b71e39a757e67c967f9bd05dc to your computer and use it in GitHub Desktop.
Save daino3/740a729b71e39a757e67c967f9bd05dc to your computer and use it in GitHub Desktop.
Installing Chrome Driver on ubuntu
- name: Update repositories cache and system deps
apt: name={{ item }} state=present update_cache=yes
with_items:
- libxi6
- libgconf-2-4
- name: Install chromedriver
apt: name={{ item }} state=present
with_items:
- chromium-chromedriver
- name: Symlink chromedriver executable
file:
src: /usr/lib/chromium-browser/chromedriver
dest: /usr/local/bin/chromedriver
owner: "{{ ansible_ssh_user }}"
state: link
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment