diff --git a/host_vars/vps1 b/host_vars/vps1 index 620a9ee..fb7ad50 100644 --- a/host_vars/vps1 +++ b/host_vars/vps1 @@ -2,7 +2,7 @@ --- # vars file custom_vars: - generality: + shared: ssh_authorized_keys: - sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIIO0sbFLwfgSWpWwn4cy4cddKvV74efUMZVYTTjX2vnjAAAABHNzaDo= rika@hikiki - sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIHJqHHMplgqm8yiq4Qwisk67p9+f9sLM8tIAzuw2qkwpAAAABHNzaDo= rika@hikiki @@ -55,7 +55,8 @@ groups: # @NOTE key/field names SHOULD match value of 'group_name' key or field of its object remote: group_name: remote - type: system + type: system + id: ~ users: # @NOTE key/field names MUST match value of 'username' key or field of its object senpai: @@ -81,8 +82,8 @@ users: - sudo - "{{ groups.remote.group_name }}" services: [sshd] - ssh_authorized_keys: "{{ custom_vars.generality.ssh_authorized_keys }}" - ssh_private_key_paths: "{{ custom_vars.generality.ssh_private_key_paths }}" + ssh_authorized_keys: "{{ custom_vars['shared']['ssh_authorized_keys'] }}" + ssh_private_key_paths: "{{ custom_vars['shared']['ssh_private_key_paths'] }}" ssh_private_key_path_pref: 0 gpg_keys: - id: 558041D5CF2AB23B # @NOTE professional @@ -128,8 +129,8 @@ users: groups: - "{{ groups.remote.group_name }}" services: [proftpd,sftp,ftps] - ssh_authorized_keys: "{{ custom_vars.generality.ssh_authorized_keys }}" - ssh_private_key_paths: "{{ custom_vars.generality.ssh_private_key_paths }}" + ssh_authorized_keys: "{{ custom_vars['shared']['ssh_authorized_keys'] }}" + ssh_private_key_paths: "{{ custom_vars['shared']['ssh_private_key_paths'] }}" ssh_private_key_path_pref: 0 gpg_keys: [] gpg_keyid_pref: 0