Compare commits
5 Commits
Author | SHA1 | Date |
---|---|---|
|
78618dd3a4 | |
|
c18e9252ca | |
|
96226c2463 | |
|
654ffc8d43 | |
|
f32fe4f873 |
10
CHANGELOG.md
10
CHANGELOG.md
|
@ -1,8 +1,16 @@
|
|||
## v1.1.2
|
||||
|
||||
### Fix
|
||||
* Fix E405 Remote package tasks should have a retry.
|
||||
* Use to_nice_json to manage packages list.
|
||||
* Fix E203 Most files should not contain tabs.
|
||||
* Fix E404 Doesn't need a relative path in role.
|
||||
|
||||
## v1.1.1
|
||||
|
||||
### Fix
|
||||
* Set empty dependencies line to fix Galaxy warning.
|
||||
* Deprecation warning in favor of debops.netbase role.
|
||||
* Deprecation warning in favor of debops.netbase and debops.resources role.
|
||||
|
||||
## v1.1.0
|
||||
|
||||
|
|
|
@ -2,7 +2,9 @@
|
|||
|
||||
This content is mainly deprecated and i start using [Debops Netbase role][debops netbase role]
|
||||
which comes with most of this configuration (more and better).
|
||||
TODO : A specific role to manage `resolvconf` might be a good idea.
|
||||
The [Debops Ifupdown role][debops ifupdown role] can manage the DNS search and nameservers,
|
||||
[see the documentation][debops ifupdown dns] for more informations and the
|
||||
[Debops Resolvconf role][debops resolvconf role] can also give more possibilities.
|
||||
|
||||
1. [Overview](#overview)
|
||||
2. [Role Variables](#role-variables)
|
||||
|
@ -96,3 +98,5 @@ Jérémy Gardais
|
|||
[ipr website]: https://ipr.univ-rennes1.fr/
|
||||
[wiki proxmox lxc]: https://pve.proxmox.com/wiki/Linux_Container#_guest_operating_system_configuration
|
||||
[debops netbase role]: https://docs.debops.org/en/master/ansible/roles/debops.netbase/index.html
|
||||
[debops ifupdown role]: https://docs.debops.org/en/master/ansible/roles/debops.ifupdown/index.html
|
||||
[debops resolvconf role]: https://docs.debops.org/en/master/ansible/roles/debops.resolvconf/index.html
|
||||
|
|
|
@ -54,12 +54,14 @@
|
|||
state: 'present'
|
||||
install_recommends: False
|
||||
with_flattened:
|
||||
- '{{ basics__resolvconf_packages }}'
|
||||
- '{{ basics__resolvconf_packages | to_nice_json }}'
|
||||
register: resolv_pkg_result
|
||||
until: resolv_pkg_result is success
|
||||
when: basics__resolvconf_enabled|bool
|
||||
|
||||
- name: Configure Resolvconf with domains
|
||||
template:
|
||||
src: '../templates/etc/resolvconf/resolv.conf.d/base.j2'
|
||||
src: 'etc/resolvconf/resolv.conf.d/base.j2'
|
||||
dest: '/etc/resolvconf/resolv.conf.d/base'
|
||||
owner: root
|
||||
group: root
|
||||
|
|
Reference in New Issue