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

+6
View File
@@ -0,0 +1,6 @@
---
- name: Configure proxies & timers for 'pro' client
ansible.builtin.command: "pro config {{ ('set ' + item.key + '=' + item.value if item.value else 'unset ' + item.key) }}"
loop: "{{ ubuntu_pro_config | dict2items }}"
when: ubuntu_pro_config is defined
become: yes