Add run_once to all the tasks.

This commit is contained in:
Andrea Dell'Amico 2020-10-26 17:37:04 +01:00
parent c056c76090
commit 44a95ac8bf
4 changed files with 4 additions and 0 deletions

View File

@ -35,4 +35,5 @@
delegate_to: "{{ item.db_host }}"
when: item.db_host is defined
run_once: True
tags: [ 'postgresql', 'postgres', 'pg_hba', 'pg_conf', 'pg_db' ]

View File

@ -11,5 +11,6 @@
delegate_to: "{{ item.0.db_host }}"
when: item.0.db_host is defined
run_once: True
tags: [ 'postgresql', 'postgres', 'pg_extensions', 'pg_db' ]

View File

@ -11,4 +11,5 @@
delegate_to: "{{ item.0.db_host }}"
when: item.0.db_host is defined
run_once: True
tags: [ 'postgresql', 'postgres', 'pg_db', 'pg_schema' ]

View File

@ -32,4 +32,5 @@
delegate_to: "{{ item.db_host }}"
when: item.db_host is defined
run_once: True
tags: [ 'postgresql', 'postgres', 'pg_db', 'pg_user' ]