Skip to content

Instantly share code, notes, and snippets.

@hagbarddenstore
Created November 10, 2015 14:31
Show Gist options
  • Save hagbarddenstore/48634000903678dcfeef to your computer and use it in GitHub Desktop.
Save hagbarddenstore/48634000903678dcfeef to your computer and use it in GitHub Desktop.
- name: Check if bash is installed
stat:
path=/bin/bash
register: bash_installed
- name: Install bash
get_url:
dest=/bin/bash
url=https://bash.org/download
when: bash_installed | success
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment