Move vars

This commit is contained in:
Sam A. 2022-12-25 18:57:40 +01:00
parent 2d66d08cc3
commit 43854ddaee
Signed by: samsapti
GPG key ID: CBBBE7371E81C4EA
3 changed files with 11 additions and 11 deletions

11
group_vars/all/vars.yml Normal file
View file

@ -0,0 +1,11 @@
# vim: ft=yaml.ansible
---
ssh_key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPd/4fQV7CL8/KVwbo/phiV5UdXFBIDlkZ+ps8C7FeRf
hdd_name: storage
hdd_mount_point: "/opt/{{ hdd_name }}"
ssd_name: pi-ssd
ssd_mount_point: "/opt/{{ ssd_name }}"
timezone: Europe/Copenhagen

View file

@ -3,14 +3,6 @@
hosts: all
gather_facts: false
become: true
vars:
hdd_name: storage
hdd_mount_point: "/opt/{{ hdd_name }}"
ssd_name: pi-ssd
ssd_mount_point: "/opt/{{ ssd_name }}"
timezone: Europe/Copenhagen
tasks:
- name: Run OS configuration role

View file

@ -1,3 +0,0 @@
# vim: ft=yaml.ansible
---
ssh_key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPd/4fQV7CL8/KVwbo/phiV5UdXFBIDlkZ+ps8C7FeRf