Ansible Role: Canonical Livepatch

CI

Installs and configures the Canonical Livepatch Service on Ubuntu servers.

Requirements

None.

Role Variables

Available variables are listed below, along with default values (see defaults/main.yml):

canonical_livepatch_token: ""

The token under which Canonical Livepatch will use.

If you don't have a token yet, you can get one here.

When using this role with a public repository or a private repository managed by more than one person, I strongly recommend that you encrypt this value using ansible-vault.

Dependencies

None.

Example Playbook

- hosts: servers
  vars_files:
    - vars/main.yml
  roles:
    - tsukune_ch.canonical_livepatch

Inside vars/main.yml:

canonical_livepatch_token: [YOUR_TOKEN_HERE]

License

MIT

Author Information

This role was created in 2020 by tsukune-ch.