Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
rpelisse committed Nov 28, 2024
1 parent a165278 commit 91f115f
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions roles/wildfly_migration/tasks/install/rhn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@

- name: "Esclade privileges if needed"

Check warning on line 10 in roles/wildfly_migration/tasks/install/rhn.yml

View workflow job for this annotation

GitHub Actions / ci / linter (3.11, 2.16)

key-order[task]

You can improve the task key order to: name, become, become_user, block
block:
- name: "Load metadata on Migration Toolkit archive for EAP8"
- name: "Load metadata on server migration tool archive for EAP8"
ansible.builtin.stat:
path: "{{ eap_migration_server_tool_path_to_archive }}"
register: eap_migration_archive_md
delegate_to: "{{ eap_migration_server_download_node | default(omit) }}"

- name: "Ensure Migration Toolkit for EAP8 has been downloaded"
- name: "Ensure server migration tool for EAP8 has been downloaded"
redhat.runtimes_common.product_download:
client_id: "{{ rhn_username }}"
client_secret: "{{ rhn_password }}"
Expand All @@ -37,7 +37,12 @@
- eap_migration_server_download_node is defined
- eap_migration_server_download_node == 'localhost'

- name: "Ensure Migration Toolkit for EAP8 has been decompressed"
- name: "Ensure that server migration tool home folder exists"

Check failure on line 40 in roles/wildfly_migration/tasks/install/rhn.yml

View workflow job for this annotation

GitHub Actions / ci / linter (3.11, 2.16)

risky-file-permissions

File permissions unset or incorrect.
ansible.builtin.file:
path: "{{ eap_migration_server_tool_install_dir }}"
state: directory

- name: "Ensure server migration tool for EAP8 has been decompressed"
ansible.builtin.unarchive:
src: "{{ eap_migration_server_tool_path_to_archive }}"
dest: "{{ eap_migration_server_tool_install_dir }}"
Expand Down

0 comments on commit 91f115f

Please sign in to comment.