microsoft/azure-pipelines-extensions

Ansible Inventory on agent machine not found

kldzacharyrothweiler opened this issue · 1 comments

Sanitized raw log attached; task version 0.0.5

Inputs defined below. I've verified that parameters.inventoryPath is set to the correct path in a task preceding this that prints it out.

    inputs:
      ansibleInterface: agentMachine
      playbookPathOnAgentMachine: ${{ parameters.playbookPath }}
      inventoriesAgentMachine: File
      inventoryFileOnAgentMachine: ${{ parameters.inventoryPath }}
      sudoEnabled: ${{ parameters.runAsAdmin }}
      ${{ if eq(parameters.runAsAdmin, true) }}:
        sudoUser: ${{ parameters.deploymentUser }}
      ${{ if ne(parameters.variablesPath, '') }}: 
        args: '-e "@${{ parameters.variablesPath }}" -vvv'

redacted-ansible-task-logs.txt

Figured out the issue;

inventoriesAgentMachine: File

should have been

inventoriesAgentMachine: file