41 lines
827 B
YAML
41 lines
827 B
YAML
#- name: Init for zeus
|
|
# hosts: zeus
|
|
# become: true
|
|
# vars:
|
|
# user: warezjoe
|
|
# uid: 1000
|
|
# user_ssh_key_url: https://github.com/MatousVondrejka.keys
|
|
# host: zeus
|
|
# set_ip: true # false
|
|
# in_face: ens18
|
|
# ip: 192.168.5.7
|
|
#
|
|
# roles:
|
|
# - role: linux_config_init
|
|
# # - role: tools_for_command_line
|
|
# # - role: ansible-role-security
|
|
# # - role: zfs-install
|
|
# # - role: nfs-config
|
|
|
|
|
|
- name: Zfs dataset + NFS - Tata
|
|
hosts: zeus
|
|
become: true
|
|
vars:
|
|
user: tata
|
|
group: nogroup
|
|
uid: 1001
|
|
zfs_pool_name: bigpool
|
|
zfs_dataset_name: tata
|
|
#zfs_dataset_mountpoint: /bigpool/tata
|
|
zfs_dataset_size: 1T
|
|
samba-mountpoint: /bigpool/tata
|
|
samba-user: tata
|
|
samba-range: 192.168.5.0/24
|
|
|
|
roles:
|
|
- role: create_zfs_dataset
|
|
# - role: create_user
|
|
# - role: samba_user
|
|
|