You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/targets/win_app_control/create_manifest.yml

16 lines
610 B
YAML

- name: create manifest file
ansible.builtin.template:
src: '{{ manifest_file }}'
dest: '{{ local_tmp_dir }}/ansible_collections/ns/invalid_manifest/meta/powershell_signatures.psd1'
delegate_to: localhost
- name: sign manifest file
ansible.builtin.script: >-
Set-ManifestSignature.ps1
-Path {{ local_tmp_dir ~ "/ansible_collections/ns/invalid_manifest/meta/powershell_signatures.psd1" | quote }}
-CertPath {{ local_tmp_dir ~ "/" ~ (cert_name | default("wdac-signing")) ~ ".pfx" | quote }}
-CertPass {{ cert_pw | quote }}
environment:
NO_COLOR: '1'
delegate_to: localhost