-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from EA31337/dev
Improves installation steps
- Loading branch information
Showing
9 changed files
with
44 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,3 +43,5 @@ | |
state: absent | ||
- name: Verifies | ||
ansible.builtin.include_tasks: verify.yml | ||
tags: | ||
- metatrader_verify |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,24 @@ | ||
--- | ||
- name: Checks 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: Checks 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" | ||
- name: Verifies platform files exist | ||
tags: | ||
- metatrader_verify | ||
block: | ||
- name: Checks if platform's 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: Checks if platform's editor exists | ||
changed_when: false | ||
failed_when: find_mte_res.matched == 0 | ||
ansible.builtin.find: | ||
paths: '{{ ansible_env.HOME }}/.wine/drive_c' | ||
patterns: "[mM]eta[eE]ditor*.exe" | ||
recurse: true | ||
register: find_mte_res | ||
when: ansible_os_family != "Windows" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters