-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
--- | ||
- name: Verify | ||
hosts: all | ||
tasks: | ||
|
||
- name: Retrieve information from path | ||
Check failure on line 6 in molecule/default/verify.yml GitHub Actions / Pre-commitfqcn[action-core]
|
||
stat: | ||
path: /root/.wine/drive_c/Program Files/MetaTrader 5 | ||
register: stat_result | ||
|
||
- name: Verify platform exist | ||
Check failure on line 11 in molecule/default/verify.yml GitHub Actions / Pre-commitfqcn[action-core]
|
||
assert: | ||
that: | ||
- stat_result.stat.exists | ||
- stat_result.stat.isdir | ||
|
||
- name: Check if Meta Terminal exists | ||
changed_when: false | ||
failed_when: find_mt_res.matched == 0 | ||
ansible.builtin.find: | ||
paths: '{{ ansible_env.HOME }}/.wine/drive_c' | ||
patterns: terminal*.exe | ||
recurse: true | ||
register: find_mt_res | ||
when: ansible_os_family != "Windows" | ||
|
||
- name: Check if Meta Editor exists | ||
changed_when: false | ||
failed_when: find_mt_res.matched == 0 | ||
ansible.builtin.find: | ||
paths: '{{ ansible_env.HOME }}/.wine/drive_c' | ||
patterns: metaeditor*.exe | ||
recurse: true | ||
register: find_mte_res | ||
when: ansible_os_family != "Windows" |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
--- | ||
- name: Verify | ||
hosts: all | ||
tasks: | ||
|
||
- name: Retrieve information from path | ||
Check failure on line 6 in molecule/mt4/verify.yml GitHub Actions / Pre-commitfqcn[action-core]
|
||
stat: | ||
path: /root/.wine/drive_c/Program Files | ||
register: stat_result | ||
|
||
- name: Verify Program Files exist | ||
Check failure on line 11 in molecule/mt4/verify.yml GitHub Actions / Pre-commitfqcn[action-core]
|
||
assert: | ||
that: | ||
- stat_result.stat.exists | ||
- stat_result.stat.isdir | ||
|
||
- name: Check if Meta Terminal exists | ||
changed_when: false | ||
failed_when: find_mt_res.matched == 0 | ||
ansible.builtin.find: | ||
paths: '{{ ansible_env.HOME }}/.wine/drive_c' | ||
patterns: terminal*.exe | ||
recurse: true | ||
register: find_mt_res | ||
when: ansible_os_family != "Windows" | ||
|
||
- name: Check if Meta Editor exists | ||
changed_when: false | ||
failed_when: find_mt_res.matched == 0 | ||
ansible.builtin.find: | ||
paths: '{{ ansible_env.HOME }}/.wine/drive_c' | ||
patterns: metaeditor*.exe | ||
recurse: true | ||
register: find_mte_res | ||
when: ansible_os_family != "Windows" |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
--- | ||
- name: Verify | ||
hosts: all | ||
tasks: | ||
|
||
- name: Retrieve information from path | ||
Check failure on line 6 in molecule/mt5/verify.yml GitHub Actions / Pre-commitfqcn[action-core]
|
||
stat: | ||
path: /root/.wine/drive_c/Program Files/MetaTrader 5 | ||
register: stat_result | ||
|
||
- name: Verify platform exist | ||
Check failure on line 11 in molecule/mt5/verify.yml GitHub Actions / Pre-commitfqcn[action-core]
|
||
assert: | ||
that: | ||
- stat_result.stat.exists | ||
- stat_result.stat.isdir | ||
|
||
- name: Check if Meta Terminal exists | ||
changed_when: false | ||
failed_when: find_mt_res.matched == 0 | ||
ansible.builtin.find: | ||
paths: '{{ ansible_env.HOME }}/.wine/drive_c' | ||
patterns: terminal*.exe | ||
recurse: true | ||
register: find_mt_res | ||
when: ansible_os_family != "Windows" | ||
|
||
- name: Check if Meta Editor exists | ||
changed_when: false | ||
failed_when: find_mt_res.matched == 0 | ||
ansible.builtin.find: | ||
paths: '{{ ansible_env.HOME }}/.wine/drive_c' | ||
patterns: metaeditor*.exe | ||
recurse: true | ||
register: find_mte_res | ||
when: ansible_os_family != "Windows" |