Fix ansiblelint 208
File permissions not mentioned Change-Id: I5efbb06ccee9ac7e83bfcf4171c5ae7d2930128b
This commit is contained in:
parent
4557c983ca
commit
996921a5b6
@ -1,4 +1,3 @@
|
||||
skip_list:
|
||||
- '106' # Role name {} does not match ``^[a-z][a-z0-9_]+$`` pattern'
|
||||
- '208' # File permissions not mentioned
|
||||
|
||||
|
@ -22,3 +22,4 @@
|
||||
# (cannot represent an object).
|
||||
content: "{{ new_state.get('result') | to_nice_yaml }}"
|
||||
dest: "{{ state_file_path }}"
|
||||
mode: preserve
|
||||
|
@ -24,6 +24,7 @@
|
||||
file:
|
||||
path: "{{ log_directory }}"
|
||||
state: directory
|
||||
mode: 0755
|
||||
become: true
|
||||
# Don't remove log directory during teardown to preserve historical logs.
|
||||
when: cmd != 'teardown'
|
||||
|
@ -18,6 +18,7 @@
|
||||
copy:
|
||||
src: requirements.txt
|
||||
dest: "{{ req_file.path }}"
|
||||
mode: preserve
|
||||
|
||||
- name: Ensure Python requirements are installed
|
||||
pip:
|
||||
|
@ -20,6 +20,7 @@
|
||||
copy:
|
||||
src: requirements.txt
|
||||
dest: "{{ wait_for_resources_python_requirements_path }}"
|
||||
mode: preserve
|
||||
|
||||
- name: Install dependencies in supplied venv
|
||||
pip:
|
||||
|
@ -45,3 +45,4 @@
|
||||
# (cannot represent an object).
|
||||
content: "{{ new_state.get('result') | to_nice_yaml }}"
|
||||
dest: "{{ state_file_path }}"
|
||||
mode: preserve
|
||||
|
Loading…
x
Reference in New Issue
Block a user