Skip to content

Commit

Permalink
modify the task name
Browse files Browse the repository at this point in the history
Signed-off-by: Yanan Shen <yanans@vmware.com>
  • Loading branch information
123lzxm committed Jan 9, 2024
1 parent 4b89f5c commit b6169b5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion vars/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ windows_nfs_share: ''
windows_msu_nfs_path: ''
# The use name and password for accessing above Windows shared folder.
# windows_nfs_username: "CHANGEME"
# windows_nfs_pwd: "CHANGEME"
# windows_nfs_password: "CHANGEME"

#####################################
# GOS related parameters
Expand Down
2 changes: 1 addition & 1 deletion windows/utils/win_execute_cmd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
ansible.builtin.set_fact:
win_powershell_cmd_output: ""

- name: "Execute powershell command '{{ win_powershell_cmd }}'"
- name: "Execute powershell command"
ansible.windows.win_shell: "{{ win_powershell_cmd }}"
register: win_powershell_cmd_output
ignore_errors: "{{ win_execute_cmd_ignore_error | default(false) }}"
Expand Down
4 changes: 2 additions & 2 deletions windows/windows_update_install/prepare_msu_file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
ansible.builtin.set_fact:
win_nfs_mount_cmd: |-
{%- if windows_nfs_username is defined and windows_nfs_username and
windows_nfs_pwd is defined and windows_nfs_pwd -%}
{{ 'net use ' ~ drive_letter_new ~ ': ' ~ windows_nfs_share ~ ' ' ~ windows_nfs_pwd ~ ' /user:' ~ windows_nfs_username }}
windows_nfs_password is defined and windows_nfs_password -%}
{{ 'net use ' ~ drive_letter_new ~ ': ' ~ windows_nfs_share ~ ' ' ~ windows_nfs_password ~ ' /user:' ~ windows_nfs_username }}
{%- else -%}
{{ 'net use ' ~ drive_letter_new ~ ': ' ~ windows_nfs_share }}
{%- endif -%}
Expand Down

0 comments on commit b6169b5

Please sign in to comment.