forked from evolix/ansible-roles
etc-git: add /var/chroot-bind/etc/bind repo
This commit is contained in:
parent
06c47493e9
commit
83e61b25a5
|
@ -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
|
* lxc-php: Allow one to install php83 on Bookworm container
|
||||||
* nagios-nrpe: add check_sentinel for monitoring Redis Sentinel
|
* nagios-nrpe: add check_sentinel for monitoring Redis Sentinel
|
||||||
* webapps/nextcloud: Added var nextcloud_user_uid to enforce uid for nextcloud user
|
* webapps/nextcloud: Added var nextcloud_user_uid to enforce uid for nextcloud user
|
||||||
|
* etc-git: add /var/chroot-bind/etc/bind repo
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
- ansible.builtin.include_role:
|
- ansible.builtin.include_role:
|
||||||
name: evolix/remount-usr
|
name: evolix/remount-usr
|
||||||
when:
|
when:
|
||||||
- _usr_share_scripts.stat.isdir
|
- _usr_share_scripts.stat.exists and _usr_share_scripts.stat.isdir
|
||||||
|
|
||||||
- ansible.builtin.import_tasks: repository.yml
|
- ansible.builtin.import_tasks: repository.yml
|
||||||
vars:
|
vars:
|
||||||
|
@ -35,3 +35,25 @@
|
||||||
- ansible_distribution_major_version is version('10', '>=')
|
- ansible_distribution_major_version is version('10', '>=')
|
||||||
tags:
|
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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue