DCD-1462: print out the permission for /tmp/hello

This commit is contained in:
Jun
2022-02-17 15:47:46 +11:00
parent 7b799624e7
commit bddfcb27b9
2 changed files with 11 additions and 4 deletions

View File

@@ -14,7 +14,7 @@
atl_product_user_uid: '2001' atl_product_user_uid: '2001'
atl_product_version_cache: "{{ atl_product_home_shared }}/{{ atl_product_edition }}.version" atl_product_version_cache: "{{ atl_product_home_shared }}/{{ atl_product_edition }}.version"
test_archive: '/tmp/hello/hello.tar.gz' test_archive: '/tmp/hello.tar.gz'
test_archive_file: 'hello.txt' test_archive_file: 'hello.txt'
test_archive_source: '/tmp/hello' test_archive_source: '/tmp/hello'

View File

@@ -60,9 +60,16 @@
line: '8.5' line: '8.5'
path: "{{ test_product_version_file }}" path: "{{ test_product_version_file }}"
mode: 0640 mode: 0640
- name: "{{ test_pre_step_prefix }} What is in tmp?" - name: List files and folder in home directory
shell: shell: 'ls -al'
cmd: cd /tmp && ls -al register: command_output
- debug:
var: command_output.stdout_lines
- name: Find /tmp all directories, exclude nginx and mysql
find:
paths: /tmp
recurse: no
file_type: directory
- name: "{{ test_pre_step_prefix }} Archive the shared home" - name: "{{ test_pre_step_prefix }} Archive the shared home"
archive: archive:
path: path: