* sshd template users were unable to rebuild
* the replace command was trying to modify a file from the package before it was installed
run:
- - replace:
- filename: /etc/pam.d/sshd
- from: "session required pam_loginuid.so"
- to: ""
-
-
- file:
path: /etc/service/sshd/run
chmod: "+x"
- echo "$ssh_key" >> /root/.ssh/authorized_keys
- echo "$$ENV_SSH_PUB_KEY" >> /root/.ssh/authorized_keys
- chmod 640 /root/.ssh/authorized_keys
+
+ - replace:
+ filename: /etc/pam.d/sshd
+ from: "session required pam_loginuid.so"
+ to: ""
+
- file:
path: /etc/update-motd.d/00-discourse
chmod: +x