summaryrefslogtreecommitdiff
path: root/baserock_ostree/instance-config.yml
diff options
context:
space:
mode:
Diffstat (limited to 'baserock_ostree/instance-config.yml')
-rw-r--r--baserock_ostree/instance-config.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/baserock_ostree/instance-config.yml b/baserock_ostree/instance-config.yml
index 6228d99d..6363500e 100644
--- a/baserock_ostree/instance-config.yml
+++ b/baserock_ostree/instance-config.yml
@@ -51,16 +51,16 @@
- name: sshd configuration for ostree user -- header
lineinfile: state="present" line="Match user ostree" path=/etc/ssh/sshd_config
- name: sshd configuration for ostree user -- force command
- lineinfile: state="present" line=" ForceCommand bst-artifact-receive --verbose /srv/ostree/cache" insertafter="Match user ostree" path=/etc/ssh/sshd_config
+ lineinfile: state="present" line=" ForceCommand bst-artifact-receive --pull-url https://ostree.baserock.org/cache/ --verbose /srv/ostree/cache" insertafter="Match user ostree$" path=/etc/ssh/sshd_config
- name: sshd configuration for ostree user -- disable password auth
- lineinfile: state="present" line=" PasswordAuthentication no" insertafter="Match user ostree" path=/etc/ssh/sshd_config
+ lineinfile: state="present" line=" PasswordAuthentication no" insertafter="Match user ostree$" path=/etc/ssh/sshd_config
- name: sshd configuration for ostree-releases user -- header
lineinfile: state="present" line="Match user ostree-releases" path=/etc/ssh/sshd_config
- name: sshd configuration for ostree-releases user -- force command
- lineinfile: state="present" line=" ForceCommand ostree-receive -v --repo /srv/ostree/releases" insertafter="Match user ostree-releases" path=/etc/ssh/sshd_config
+ lineinfile: state="present" line=" ForceCommand ostree-receive -v --repo /srv/ostree/releases" insertafter="Match user ostree-releases$" path=/etc/ssh/sshd_config
- name: sshd configuration for ostree-releases user -- disable password auth
- lineinfile: state="present" line=" PasswordAuthentication no" insertafter="Match user ostree-releases" path=/etc/ssh/sshd_config
+ lineinfile: state="present" line=" PasswordAuthentication no" insertafter="Match user ostree-releases$" path=/etc/ssh/sshd_config
- name: restart sshd server
service: name=sshd enabled=yes state=restarted