mirror of
https://github.com/ben-grande/qusal.git
synced 2024-10-01 02:35:49 -04:00
28 lines
637 B
Plaintext
28 lines
637 B
Plaintext
|
{#
|
||
|
SPDX-FileCopyrightText: 2023 Benjamin Grande M. S. <ben.grande.b@gmail.com>
|
||
|
|
||
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
||
|
#}
|
||
|
|
||
|
{% if grains['nodename'] != 'dom0' -%}
|
||
|
|
||
|
"{{ slsdotpath }}-autostart-ssh-over-qrexec":
|
||
|
file.managed:
|
||
|
- name: /rw/config/rc.local
|
||
|
- source: salt://{{ slsdotpath }}/files/server/rc.local
|
||
|
- mode: '0755'
|
||
|
- user: root
|
||
|
- group: root
|
||
|
|
||
|
"{{ slsdotpath }}-ssh-config":
|
||
|
file.managed:
|
||
|
- name: /home/user/.ssh/config
|
||
|
- source: salt://{{ slsdotpath }}/files/server/ssh-config
|
||
|
- file_mode: '0600'
|
||
|
- dir_mode: '0700'
|
||
|
- user: root
|
||
|
- group: root
|
||
|
- makedirs: True
|
||
|
|
||
|
{% endif -%}
|