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

Remove use of get_md5 parameter in stat module #452

Merged
merged 1 commit into from
May 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
6 changes: 0 additions & 6 deletions roles/satellite-clone/tasks/backup_check.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,31 @@
---
- name: Check for config tar file

Check warning on line 2 in roles/satellite-clone/tasks/backup_check.yml

View workflow job for this annotation

GitHub Actions / lint

fqcn[action-core]

Use FQCN for builtin module actions (stat).
stat:
path: '{{ backup_dir }}/config_files.tar.gz'
get_checksum: False
get_md5: False
register: config_data

- name: set fact - config_data

Check warning on line 8 in roles/satellite-clone/tasks/backup_check.yml

View workflow job for this annotation

GitHub Actions / lint

fqcn[action-core]

Use FQCN for builtin module actions (set_fact).

Check warning on line 8 in roles/satellite-clone/tasks/backup_check.yml

View workflow job for this annotation

GitHub Actions / lint

name[casing]

All names should start with an uppercase letter.
set_fact:
clone_config_data_exists: "{{ config_data.stat.exists }}"

- name: Check for pgsql tar file

Check warning on line 12 in roles/satellite-clone/tasks/backup_check.yml

View workflow job for this annotation

GitHub Actions / lint

fqcn[action-core]

Use FQCN for builtin module actions (stat).
stat:
path: '{{ backup_dir }}/pgsql_data.tar.gz'
get_checksum: False
get_md5: False
register: pgsql_data

- name: set fact - pgsql_data

Check warning on line 18 in roles/satellite-clone/tasks/backup_check.yml

View workflow job for this annotation

GitHub Actions / lint

fqcn[action-core]

Use FQCN for builtin module actions (set_fact).

Check warning on line 18 in roles/satellite-clone/tasks/backup_check.yml

View workflow job for this annotation

GitHub Actions / lint

name[casing]

All names should start with an uppercase letter.
set_fact:
clone_pgsql_data_exists: "{{ pgsql_data.stat.exists }}"

- name: Check for pulp data file

Check warning on line 22 in roles/satellite-clone/tasks/backup_check.yml

View workflow job for this annotation

GitHub Actions / lint

fqcn[action-core]

Use FQCN for builtin module actions (stat).
stat:
path: '{{ backup_dir }}/pulp_data.tar'
get_checksum: False
get_md5: False
register: pulp_data

- name: set fact - pulp_data

Check warning on line 28 in roles/satellite-clone/tasks/backup_check.yml

View workflow job for this annotation

GitHub Actions / lint

fqcn[action-core]

Use FQCN for builtin module actions (set_fact).

Check warning on line 28 in roles/satellite-clone/tasks/backup_check.yml

View workflow job for this annotation

GitHub Actions / lint

name[casing]

All names should start with an uppercase letter.
set_fact:
clone_pulp_data_exists: "{{ pulp_data.stat.exists }}"

Expand All @@ -36,7 +33,6 @@
stat:
path: '{{ backup_dir }}/foreman.dump'
get_checksum: False
get_md5: False
register: foreman_dump

- name: set fact - foreman_dump
Expand All @@ -47,7 +43,6 @@
stat:
path: "{{ backup_dir }}/candlepin.dump"
get_checksum: False
get_md5: False
register: candlepin_dump

- name: set fact - candlepin_dump
Expand All @@ -58,7 +53,6 @@
stat:
path: "{{ backup_dir }}/pulpcore.dump"
get_checksum: False
get_md5: False
register: pulpcore_dump

- name: set fact - pulpcore_dump
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
stat:
path: "{{ backup_dir }}/metadata.yml"
get_checksum: False
get_md5: False
register: metadata

- name: set fact - metadata
Expand Down
Loading