Skip to content

Commit

Permalink
dev: tail instead of cat
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudguruab committed Oct 23, 2023
1 parent 98e1a9f commit d17fe3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion os_migrate/roles/import_workloads/tasks/workload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
- item["_migration_params"]["data_copy"]|default(true)

- name: print file contents
ansible.builtin.command: 'cat {{ os_migrate_data_dir }}/workload_logs/osm_server.log'
ansible.builtin.command: 'tail -n 300 {{ os_migrate_data_dir }}/workload_logs/osm_server.log'

- name: transfer volumes to destination
os_migrate.os_migrate.import_workload_transfer_volumes:
Expand Down

0 comments on commit d17fe3e

Please sign in to comment.