Skip to content

Commit

Permalink
Improve tasks name
Browse files Browse the repository at this point in the history
  • Loading branch information
khaledk2 committed Jun 14, 2024
1 parent 9790b98 commit 743d5f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tasks/initialise.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
PGSETUP_INITDB_OPTIONS: >-
--encoding=UTF8 --locale=en_US.UTF-8 --auth-host=md5
- name: postgres | check for presence of "Modified by ome postgresql ansible role" in file
- name: postgres | check for presence of "#Ansible Managed" in file
ansible.builtin.lineinfile:
path: "{{ postgresql_dist_confdir }}/postgresql.conf"
line: "#Ansible managed"
Expand All @@ -32,7 +32,7 @@
changed_when: false
register: config_file_changed

- name: postgres | check that the postgresql.conf.backup file exists
- name: postgres | check that the postgresql.conf.org file exists
ansible.builtin.stat:
path: "{{ postgresql_dist_confdir }}/postgresql.conf.org"
register: org_file
Expand Down
2 changes: 1 addition & 1 deletion tasks/org_config_file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
register: conf_sample_file
when: ansible_os_family | lower == 'debian'

- name: postgres | postgres | Check that the postgresql.conf.sample file exists (redhat)
- name: postgres | Check that the postgresql.conf.sample file exists (redhat)
ansible.builtin.stat:
path: "{{ postgresql_dist_redhat.conf_sample_file }}"
register: conf_sample_file
Expand Down

0 comments on commit 743d5f3

Please sign in to comment.