Skip to content

Instantly share code, notes, and snippets.

@DMeechan
Last active July 27, 2018 12:55
Show Gist options
  • Save DMeechan/2792ae01f8ff766eaca659b8f3e707c7 to your computer and use it in GitHub Desktop.
Save DMeechan/2792ae01f8ff766eaca659b8f3e707c7 to your computer and use it in GitHub Desktop.
DevOps Course Chapter 2: Ansible - Use Ansible's pre-tasks to install Java before our role installs Selenium
pre_tasks:
- name: Install Java
apt:
name: default-jre
state: present
update_cache: yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment