/ansible-role-win_server_manager

This Ansible role allows to change the Server Manager configuration. This role is a wrapper of the win_server_manager embedded Ansible module.

Primary LanguagePowerShellApache License 2.0Apache-2.0

win_server_manager - Manipulate the configuration of Server Manager

Synopsis

  • This Ansible role allows to change the Server Manager configuration.
  • This role is a wrapper of the [win_server_manager] embedded module.

Parameters

Parameter Choices/Defaults Comments
wsm_pop_wac_console_at_sm_launch
bool
Choices:
  • no ←
  • yes
Specifies whether the dialog box offering the option ty "Try managing servers with Windows Admin Center (WindowsAdminCenter)" opens when the console starts.
wsm_open_server_manager_at_logon
bool
Choices:
  • no ←
  • yes
Specifies whether the Server Manager application opens automatically at logon.
When wsm_open_server_manager_at_logon=false will ensure the Server Manager application does not open when the end user logs on.
When wsm_open_server_manager_at_logon=true will ensure the Server Manager application opens when the end user logs on.
wsm_open_initial_configuration_tasks_at_logon
bool
Choices:
  • no ←
  • yes
Specifies whether the Initial Configuration Tasks application opens automatically when the end user logs on for the first time.
If it opens automatically, then the Server Manager will not open until the Initial Configuration Tasks application is closed.
When wsm_open_initial_configuration_tasks_at_logon=false will ensure the Initial Configuration Tasks application does not open automatically when the end user logs on for the first time.
When wsm_open_initial_configuration_tasks_at_logon=true will ensure the Initial Configuration Tasks application opens automatically when the end user logs on for the first time.
Depending the operating system, this setting is deprecated. Use wsm_open_server_manager_at_logon instead.

Examples

---
- name: test the win_server_manager role
  hosts: all
  gather_facts: false

  roles:
    - role: win_server_manager
      vars:
        wsm_pop_wac_console_at_sm_launch: no
        wsm_open_server_manager_at_logon: no
        wsm_open_initial_configuration_tasks_at_logon: no

Authors

  • Stéphane Bilqué (@sbilque) Informatique CDC

License

This project is licensed under the Apache 2.0 License.

See LICENSE to see the full text.