The AWX setup playbooks also install Postgres and support 12.04, you may
wish to read ours:

http://ansibleworks.com/releases/awx/setup/awx-setup-latest.tar.gz




On Thu, Nov 21, 2013 at 3:10 PM, Brian Coca <[email protected]> wrote:

> I use ubuntu 12.04 and the following 'just works':
>
>     - name: Installing PosgreSQL
>       apt: name={{item}} state=latest
>       with_items:
>         - postgresql-{{postgresql_version}}
>         - postgresql-contrib-{{postgresql_version}}
>         - python-psycopg2
>
>     - name: Make sure its running
>       service: name=postgresql state=started enabled=yes
>
> but be careful when installing more than 1 version (it is possible) or if
> you have old config files as postgresql package will 'disable' it's own
> startup, check
>  /etc/postgresql/<version>/main/start.conf, must be set to auto, can be
> manual or disabled.
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Michael DeHaan <[email protected]>
CTO, AnsibleWorks, Inc.
http://www.ansibleworks.com/

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to