add 'pro config' feature

This commit is contained in:
Sebastien Thebert committed 2022-10-12 01:34:31 +02:00
1 parent 2a6201bdfa
commit 3de1cd1c9b
5 files changed
+113 -6

No files matched your search

+8
View File
@@ -11,6 +11,14 @@
upgrade: yes
become: yes
- name: Install 'ubuntu-advantage-tools' package
ansible.builtin.apt:
name: ubuntu-advantage-tools
state: latest
become: yes
- include_tasks: configure.yml
- name: Register this host on Ubuntu Pro (pro attach <token>)
ansible.builtin.command: "pro attach {{ ubuntu_pro_token }}"
become: yes