mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 00:43:06 -06:00
DCD-1462: print out the permission for /tmp/hello
This commit is contained in:
@@ -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'
|
||||||
|
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user