etc-git: add /var/chroot-bind/etc/bind repo

This commit is contained in:
William Hirigoyen 2023-11-29 09:59:57 +01:00
parent 06c47493e9
commit 83e61b25a5
2 changed files with 25 additions and 2 deletions

View file

@ -17,6 +17,7 @@ The **patch** part changes is incremented if multiple releases happen the same m
* lxc-php: Allow one to install php83 on Bookworm container
* nagios-nrpe: add check_sentinel for monitoring Redis Sentinel
* webapps/nextcloud: Added var nextcloud_user_uid to enforce uid for nextcloud user
* etc-git: add /var/chroot-bind/etc/bind repo
### Changed

View file

@ -24,7 +24,7 @@
- ansible.builtin.include_role:
name: evolix/remount-usr
when:
- _usr_share_scripts.stat.isdir
- _usr_share_scripts.stat.exists and _usr_share_scripts.stat.isdir
- ansible.builtin.import_tasks: repository.yml
vars:
@ -34,4 +34,26 @@
- _usr_share_scripts.stat.isdir
- ansible_distribution_major_version is version('10', '>=')
tags:
- etc-git
- etc-git
- name: verify /var/chroot-bind/ presence
ansible.builtin.stat:
path: /var/chroot-bind
register: _var_chroot_bind
tags:
- etc-git
- debug:
var: _var_chroot_bind.stat
- ansible.builtin.import_tasks: repository.yml
vars:
repository_path: "/var/chroot-bind/etc/bind"
gitignore_items: []
when:
- _var_chroot_bind.stat.exists and _var_chroot_bind.stat.isdir
- ansible_distribution_major_version is version('9', '>=')
tags:
- etc-git