See Ansible's Packaging Modules.
-
Packaging modules / apt_repository: Add and remove APT repositories.
-
Packaging modules / apt_key: Add or remove an apt key.
-
Packaging modules / apt: Manages apt-packages.
-
Utilities modules / debug: Print statements during execution.
-
Ansible official document: YAML Syntax
-
Jeff Geerling: Ansible for DevOps, "YAML Conventions and Best Practices" (pp. 360—365)
with_items
- Support more Ubuntu versions?
- Support more Linux distributions?
FYI, see williamyeh.nginx.