--- - name: Configuration du DS hosts: splunk_deployement_TIC gather_facts: false tasks: - name: Configuration du DS lineinfile: path: /opt/splunk/etc/system/local/server.conf line: "[deployment-server] enabled = true serverName = SVLCTPLOGSUP01.mom.fr restartSplunkd = true"