-
Notifications
You must be signed in to change notification settings - Fork 6
/
.configure.yml
39 lines (30 loc) · 1.48 KB
/
.configure.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
- name: Configure the role vbotka.freebsd_postinstall
hosts: localhost
vars:
tags_path: defaults/main/sanity_tags.yml
nfs_services_path: defaults/main/nfs_services.yml
nfsd_services_path: defaults/main/nfsd_services.yml
_beg: "{{ '{{' }}"
_end: "{{ '}}' }}"
tasks:
- name: Confirm that you know what you are doing.
ansible.builtin.assert:
that: i_know_what_i_am_doing | d(false) | bool
fail_msg: Confirm that you know what you are doing.
- name: Create list of all tags fp_sanity_tags in {{ tags_path }}
ansible.builtin.include_tasks: .configure.tasks/create_sanity_tags.yml
when: fp_create_sanity_tags | d(false) | bool
- name: Create handlers/main.yml
ansible.builtin.include_tasks: .configure.tasks/create_handlers_main.yml
when: fp_create_handlers_main | d(false) | bool
- name: Create lists fp_nfs_services_enable and disable in {{ nfs_services_path }}
ansible.builtin.include_tasks: .configure.tasks/create_nfs_services.yml
when: fp_create_nfs_services | d(false) | bool
vars:
nfs_services: {nfsclient: nfs, lockd: rpc_lockd, statd: rpc_statd}
- name: Create lists fp_nfsd_services_enable and disable in {{ nfsd_services_path }}
ansible.builtin.include_tasks: .configure.tasks/create_nfsd_services.yml
when: fp_create_nfsd_services | d(false) | bool
vars:
nfsd_services: {nfsd: nfsd, mountd: mountd, rpcbind: rpcbind, lockd: rpc_lockd, statd: rpc_statd}
# EOF