Saturday, 13 July 2019

Ansible playbook to Configure DNS on Windows server




- name: Installing Windows DNS Server
    win_feature:
     name: DNS
     state: present
     windows_dns_server_state: present
     include_management_tools: yes

  - name:Configure DNS
    win_dns_client:
     adapter_names: "Ethernet"
     ipv4_addresses: 10.0.0.1

No comments:

Post a Comment

Git

1 git add ↳ It lets you add changes from the working directory into the staging area 2 git commit ↳ It lets you save a snapshot of currently...