Created
February 3, 2018 03:46
-
-
Save daino3/740a729b71e39a757e67c967f9bd05dc to your computer and use it in GitHub Desktop.
Installing Chrome Driver on ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- 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