Created
September 2, 2014 14:41
-
-
Save robinbowes/0c0eb0932ad10cc29bb4 to your computer and use it in GitHub Desktop.
This file contains hidden or 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: install python postgresql library | |
yum: pkg=python-psycopg2 state=installed | |
- name: add puppetdb postgresql user | |
postgresql_user: name={{ puppetdb.postgres.user }} password={{ puppetdb.postgres.password }} role_attr_flags=NOCREATEDB,NOSUPERUSER,NOCREATEROLE | |
- name: add puppetdb postgresql database | |
postgresql_db: name={{ puppetdb.postgres.database }} encoding='UTF-8' owner={{ puppetdb.postgres.user }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment