1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
- hosts: localhost tasks: - name: install ansible yum: name=ansible-2.1.0.0 state=present - name: install ansible-lint pip: name=ansible-lint args: state: present version: 3.1.2 - name: install some-package package: name: some-package state: present