Created
April 25, 2018 15:55
-
-
Save gregimba/2254c5e2487a852d7ee72d969ecbd5a9 to your computer and use it in GitHub Desktop.
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
--- | |
- hosts: webservers | |
become: yes | |
gather_facts: no | |
tasks: | |
- name: ensure apt cache is up to date | |
apt: update_cache=yes | |
- name: ensure packages are installed | |
apt: name={{item}} | |
with_items: | |
- postgresql | |
- libpq-dev | |
- python-psycopg2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment