, .
? :
- name: Install git using apt module
apt:
name: git
state: present
git , (OK), git .
command:
- name: Install git using command
command: apt-get install git
changed ( ), (, git ). , idempotent command, .
command .
Ansible - . playbook , , , changed, .
, , .
command vs specific module:
: The Essentials