Update Inventory Scope

2025-12-16 14:11:16 +00:00
parent 4f1b15255a
commit efbbebb07e

@@ -181,13 +181,13 @@ users:
id: 999 id: 999
password: ~ password: ~
shell: "/sbin/nologin" shell: "/sbin/nologin"
home: /srv/ftp home: "/srv/ftp"
admin: false admin: false
type: system type: "system"
group: ~ group: ~
groups: groups:
- "{{ groups.remote.group_name }}" - "{{ groups.remote.group_name }}"
services: [proftpd,sftp,ftps] services: ["proftpd","sftp","ftps"]
# @NOTE below two field/key values needed to support SFTP service, if included in previous "services" key/field # @NOTE below two field/key values needed to support SFTP service, if included in previous "services" key/field
ssh_authorized_keys: ssh_authorized_keys:
- "sk-ecdsa-sha2-nistp256@openssh.com olAIRPALOJRFOLGAlajnlGLNHlikhnaflgn== anon@device" - "sk-ecdsa-sha2-nistp256@openssh.com olAIRPALOJRFOLGAlajnlGLNHlikhnaflgn== anon@device"
@@ -242,13 +242,13 @@ users:
id: 999 id: 999
password: ~ password: ~
shell: "/sbin/nologin" shell: "/sbin/nologin"
home: /srv/ftp home: "/srv/ftp"
admin: false admin: false
type: system type: "system"
group: ~ group: ~
groups: groups:
- "{{ groups.remote.group_name }}" - "{{ groups.remote.group_name }}"
services: [proftpd,sftp,ftps] services: ["proftpd","sftp","ftps"]
# @NOTE below two field/key values needed to support SFTP service, if included in previous "services" key/field # @NOTE below two field/key values needed to support SFTP service, if included in previous "services" key/field
ssh_authorized_keys: "{{ custom_vars['shared']['ssh_authorized_keys'] }}" ssh_authorized_keys: "{{ custom_vars['shared']['ssh_authorized_keys'] }}"
ssh_private_key_paths: "{{ custom_vars['shared']['ssh_private_key_paths'] }}" ssh_private_key_paths: "{{ custom_vars['shared']['ssh_private_key_paths'] }}"