Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use FQCN #268

Closed
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
prepare ansible-lint
  • Loading branch information
zerwes committed Jan 8, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 2bcc6ef9ba98c2e2d424e946a0327c32dc0b77d4
9 changes: 9 additions & 0 deletions .ansible-lint
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
---
exclude_paths:
- molecule/
- .github/
- meta/

skip_list:
- 'yaml'
- 'no-handler'
- 'role-name'
- no-free-form
- name[missing]
- name[casing]
4 changes: 2 additions & 2 deletions tasks/initialize.yml
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@
path: "{{ postgresql_data_dir }}/PG_VERSION"
register: pgdata_dir_version

- name: Ensure PostgreSQL database is initialized.
- name: Ensure PostgreSQL database is initialized. # noqa no-changed-when
ansible.builtin.command: "{{ postgresql_bin_path }}/initdb -D {{ postgresql_data_dir }}"
when: not pgdata_dir_version.stat.exists
become: true
@@ -28,7 +28,7 @@
vars:
ansible_ssh_pipelining: true

- name: Ensure PostgreSQL log directory exists.
- name: Ensure PostgreSQL log directory exists. # noqa fqcn[action-core]
file:
path: "{{ postgresql_effective_log_dir }}"
owner: "{{ postgresql_user }}"
4 changes: 2 additions & 2 deletions tasks/setup-RedHat.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
- name: Ensure PostgreSQL packages are installed.
- name: Ensure PostgreSQL packages are installed. # noqa fqcn[action-core]
ansible.builtin.yum: # FIXME: this should be migrated to ansible.builtin.dnf
name: "{{ postgresql_packages }}"
state: present
@@ -9,7 +9,7 @@
# and affects system behavior in multiple ways.
exclude: python-unversioned-command

- name: Ensure PostgreSQL Python libraries are installed.
- name: Ensure PostgreSQL Python libraries are installed. # noqa fqcn[action-core]
ansible.builtin.yum: # FIXME: this should be migrated to ansible.builtin.dnf
name: "{{ postgresql_python_library }}"
state: present