2022-04-27 14:22:59 +02:00
|
|
|
---
|
|
|
|
|
2023-03-20 23:33:19 +01:00
|
|
|
- ansible.builtin.include: repository.yml
|
2022-04-27 14:22:59 +02:00
|
|
|
vars:
|
|
|
|
repository_path: "/etc"
|
|
|
|
gitignore_items:
|
|
|
|
- "aliases.db"
|
|
|
|
- "*.swp"
|
|
|
|
- "postfix/sa-blacklist.access"
|
|
|
|
- "postfix/*.db"
|
|
|
|
- "postfix/spamd.cidr"
|
|
|
|
- "evobackup/.keep-*"
|
|
|
|
- "letsencrypt/.certbot.lock"
|
|
|
|
tags:
|
|
|
|
- etc-git
|
|
|
|
|
|
|
|
- name: verify /usr/share/scripts presence
|
2023-03-20 23:33:19 +01:00
|
|
|
ansible.builtin.stat:
|
2022-04-27 14:22:59 +02:00
|
|
|
path: /usr/share/scripts
|
|
|
|
register: _usr_share_scripts
|
|
|
|
tags:
|
|
|
|
- etc-git
|
|
|
|
|
2023-03-20 23:33:19 +01:00
|
|
|
- ansible.builtin.include_role:
|
2022-04-27 14:22:59 +02:00
|
|
|
name: evolix/remount-usr
|
|
|
|
when:
|
|
|
|
- _usr_share_scripts.stat.isdir
|
|
|
|
|
2023-07-12 09:40:19 +02:00
|
|
|
- ansible.builtin.import_tasks: repository.yml
|
2022-04-27 14:22:59 +02:00
|
|
|
vars:
|
|
|
|
repository_path: "/usr/share/scripts"
|
|
|
|
gitignore_items: []
|
|
|
|
when:
|
|
|
|
- _usr_share_scripts.stat.isdir
|
|
|
|
- ansible_distribution_major_version is version('10', '>=')
|
|
|
|
tags:
|
2022-12-14 07:38:04 +01:00
|
|
|
- etc-git
|