Ansible

Ansible notes.

Installation

Debian/Ubuntu

$ sudo apt update
$ sudo apt install software-properties-common
$ sudo add-apt-repository --yes --update ppa:ansible/ansible
$ sudo apt install ansible

Reference

Installing packages

To install a remote deb package with Ansible we can use, for instance

- name: Install Wezterm (Ubuntu)
  apt:
    deb: https://github.com/wez/wezterm/releases/download/20211205-192649-672c1cc1/wezterm-20211205-192649-672c1cc1.Ubuntu20.04.deb