Dmitriy Rabotyagov
0041e1ebea
Manage apt repositores and keys using deb822_repository module
...
The apt-key module is deprecated so the code is refactored to allow
any of the deb822_repository features to used instead.
Change-Id: I3eb1bbf0a00849387e7d90237429fb68d4aab3c3
2024-11-27 17:56:46 +01:00
Dmitriy Rabotyagov
f99a5a85af
Define repository and packages variables in role defaults
...
Having these variables defined in vars makes impossible to override them
with inventory group_vars or host_vars, since role vars have precedence
over group_vars on the contrary to role defaults [1]
[1] https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_variables.html#understanding-variable-precedence
Change-Id: I2f5f0aae5ec028c36f5f93b331ba8c46028a388b
2024-04-23 08:25:27 +00:00
Dmitriy Rabotyagov
32dc34c70b
Make role INJECT_FACTS_AS_VARS friendly
...
Enabled INJECT_FACTS_AS_VARS[1] (which is default behaviour) has very
negative impact on Ansible performance [2].
In order to be able to reduce amount of variables and performance
penalty, role is being adopted to be used with no injected facts
[1] https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_vars_facts.html#ansible-facts
[2] https://github.com/ansible/ansible/issues/73654
Change-Id: I71a326964be7597ebaad0183c3a774321885c6f5
2024-02-23 17:34:50 +01:00
Dmitriy Rabotyagov
72aa27b649
Initial commit
...
Change-Id: I3faf848d4bd096827b81560a16fcfef2441365cb
2020-06-23 17:20:50 +03:00