- name: Add configuration entry hosts: windows gather_facts: false tasks: - name: Add max_clients setting community.windows.win_lineinfile: path: C:\apps\conf\app.conf line: 'max_clients=100' create: true