Sha256: 074d5377c3a511a8e8f9ac82d7a4e370a8f8f13f2f0a4b6a764ee03afade20ff
Contents?: true
Size: 1.02 KB
Versions: 16
Compression:
Stored size: 1.02 KB
Contents
# file: postgresql/tasks/install.yml - name: PostgreSQL | Add PostgreSQL repository apt-key apt_key: id: "{{ postgresql_apt_key_id }}" url: "{{ postgresql_apt_key_url }}" state: present when: postgresql_apt_key_url and postgresql_apt_key_id - name: PostgreSQL | Add PostgreSQL repository apt_repository: repo: "{{ postgresql_apt_repository }}" state: present when: postgresql_apt_repository - name: PostgreSQL | Make sure the dependencies are installed apt: pkg: "{{item}}" state: present update_cache: yes cache_valid_time: "{{apt_cache_valid_time | default (3600)}}" with_items: ["python-psycopg2", "python-pycurl", "locales"] - name: PostgreSQL | Install PostgreSQL apt: name: "{{item}}" state: present update_cache: yes cache_valid_time: "{{apt_cache_valid_time | default (3600)}}" environment: postgresql_env with_items: - "postgresql-{{postgresql_version}}" - "postgresql-client-{{postgresql_version}}" - "postgresql-contrib-{{postgresql_version}}"
Version data entries
16 entries across 16 versions & 1 rubygems