mirror of
https://github.com/geerlingguy/ansible-role-postgresql.git
synced 2025-03-10 17:26:20 -04:00
Fix deprecation warnings in Ansible 2.5 for state 'present'.
This commit is contained in:
parent
2fbaa2d33e
commit
c990c8ae35
2 changed files with 4 additions and 4 deletions
|
@ -2,12 +2,12 @@
|
||||||
- name: Ensure PostgreSQL Python libraries are installed.
|
- name: Ensure PostgreSQL Python libraries are installed.
|
||||||
apt:
|
apt:
|
||||||
name: "{{ postgresql_python_library }}"
|
name: "{{ postgresql_python_library }}"
|
||||||
state: installed
|
state: present
|
||||||
|
|
||||||
- name: Ensure PostgreSQL packages are installed.
|
- name: Ensure PostgreSQL packages are installed.
|
||||||
apt:
|
apt:
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
state: installed
|
state: present
|
||||||
with_items: "{{ postgresql_packages }}"
|
with_items: "{{ postgresql_packages }}"
|
||||||
|
|
||||||
- name: Ensure all configured locales are present.
|
- name: Ensure all configured locales are present.
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
- name: Ensure PostgreSQL packages are installed.
|
- name: Ensure PostgreSQL packages are installed.
|
||||||
package:
|
package:
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
state: installed
|
state: present
|
||||||
enablerepo: "{{ postgresql_enablerepo }}"
|
enablerepo: "{{ postgresql_enablerepo }}"
|
||||||
with_items: "{{ postgresql_packages }}"
|
with_items: "{{ postgresql_packages }}"
|
||||||
|
|
||||||
- name: Ensure PostgreSQL Python libraries are installed.
|
- name: Ensure PostgreSQL Python libraries are installed.
|
||||||
package:
|
package:
|
||||||
name: "{{ postgresql_python_library }}"
|
name: "{{ postgresql_python_library }}"
|
||||||
state: installed
|
state: present
|
||||||
enablerepo: "{{ postgresql_enablerepo }}"
|
enablerepo: "{{ postgresql_enablerepo }}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue