Skip to content

Commit

Permalink
fix become true
Browse files Browse the repository at this point in the history
  • Loading branch information
aktech committed Jul 24, 2024
1 parent 4928957 commit d2fa52e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/postgresql/tasks/postgresql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
owner: "{{ pg_user }}"
group: "{{ pg_user }}"
mode: '0700'
become: true
state: directory
become: true

- name: Initialize the PostgreSQL database

Check failure on line 22 in roles/postgresql/tasks/postgresql.yaml

View workflow job for this annotation

GitHub Actions / Ansible Lint

fqcn[action-core]

Use FQCN for builtin module actions (command).
command: "sudo -u {{ pg_user }} /usr/lib/postgresql/{{ pg_version }}/bin/initdb -D {{ pg_data_directory }}"
Expand Down

0 comments on commit d2fa52e

Please sign in to comment.