๐Ÿ“— Ansible playbooks and roles for building an idempotent, interconnected and scalable infrastructure
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

40 lines
1007 B

- block:
- name: fail if host does not support winrm
fail:
msg: winrm support is missing
when: ansible_connection != 'winrm'
- name: redefine ansible_host
set_fact:
ansible_host: "{{ host_fqdn }}"
when: ansible_host is ansible.utils.ip_address
- name: prepare connection
include_tasks: prepare.yml
- name: gather facts
setup:
gather_facts:
- min
- include_tasks: win_icons.yml
- include_tasks: win_ntp.yml
- include_tasks: win_firewall.yml
- include_tasks: win_description.yml
- include_tasks: win_timezone.yml
- include_tasks: win_hide_account.yml
- include_tasks: win_hosts.yml
- include_tasks: win_tweaks.yml
- include_tasks: win_chocolatey.yml
- include_tasks: win_backup.yml
- include_tasks: win_install_libreoffice.yml
- include_tasks: win_install_lmserver.yml
- include_tasks: win_install_seadrive.yml
when: workstation_unmanaged | d(false) == false