[ansible tower]how to pass EXTRA VARIABLES into the powershell script

when i launch template with EXTRA VARIABLES tag: ‘201809051153’, the powershell ps1 cannot invoke the tag.

In following environment, by cat 111.txt, it is not display ‘201809051153’, but ‘{ tag }’.

platform: ansible tower 2.6.2playbook:

  • hosts: all
    tasks:

  • name: test parameter
    script: test1.ps1
    args:
    executable: /usr/bin/pwsh
    chdir: ~

test1.ps1 content:
Write-Host {{ tag }} | Out-File ~/111.txt