Ad Widget

Collapse

Adding ALLOWDENYKEY="AllowKey=system.run[*]" breaks my Ansible playbook MSI installer

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bartman10
    Junior Member
    • Aug 2022
    • 8

    #1

    Adding ALLOWDENYKEY="AllowKey=system.run[*]" breaks my Ansible playbook MSI installer

    Hello, I'm kind of new to Zabbix and was asked to add ALLOWDENYKEY="AllowKey=system.run[*]" to our Ansible playbook that installs Zabbix 6 Client for Windows. When I add this as an MSI switch the installer hangs.
    Here is a copy of the playbook. If I take out the ALLOWDENYKEY= line the installer work.

    What am I doing wrong?

    Click image for larger version

Name:	playbook.jpg
Views:	174
Size:	54.8 KB
ID:	485671
  • bartman10
    Junior Member
    • Aug 2022
    • 8

    #2
    I got it working locally with msiexec and have the proper syntax for the key
    ALLOWDENYKEY="AllowKey=system.run[*];DenyKey=*"
    This works locally with a MSI install but still fails when used in a playbook.

    Comment

    • Markku
      Senior Member
      Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
      • Sep 2018
      • 1781

      #3
      If the MSI app needs the double quotes in the string, maybe you have to escape them in yaml?

      Markku

      Comment

      Working...