- name: "Dans /etc/yum.conf check présence timeout=300" replace: path: /etc/yum.conf regexp: '(^(\s+)timeout=)(.*)$' replace: 'timeout=300' backup: no - name: "Dans /etc/yum.conf création de la ligne timeout=300" lineinfile: path: /etc/yum.conf line: 'timeout=300' state: present backup: no