# # lilo # - name: assume lilo is insalled command: which lilo changed_when: false check_mode: false - name: deploy lilo.conf template: src: lilo.conf dest: /etc/lilo.conf notify: lilo - name: console goes ttyS0 lineinfile: path: /etc/inittab regexp: '^s1:' line: "s1:12345:respawn:/sbin/agetty --noclear --local-line ttyS0 115200 linux" # # network & daemons # #- name: enable daemons at boot-time - name: network and daemon init scripts template: src: "{{item}}" dest: "/etc/rc.d/{{item}}" mode: "0755" with_items: - rc.inet1 - rc.inet2 - rc.local