EA31337/ansible-role-metatrader

Adds Molecule verification step

Closed this issue · 0 comments

Suggested method (update path to MetaQuotes):

wine reg query 'HKLM\Software\Microsoft'

register to variable and check its installed path (whether it exists).

For example:

# wine reg query 'HKLM\Software\Microsoft\Windows NT\CurrentVersion\ProfileList' /v ProgramData

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\ProfileList
    ProgramData    REG_EXPAND_SZ    C:\ProgramData

then use Ansible filters to parse the data (e.g. regex_search).

Check https://github.com/EA31337/ansible-role-mt-runner/blob/master/tasks/main.yml for another example.