Place the forge's known host, SSH Host and git rewrite (issue 955 S3)
This commit is contained in:
@@ -51,6 +51,39 @@
|
||||
"into": "block",
|
||||
"at": "start",
|
||||
"template": "files/config"
|
||||
},
|
||||
{
|
||||
"id": "known-hosts",
|
||||
"type": "file",
|
||||
"path": "${machine:account-home}/.ssh/known_hosts",
|
||||
"owner": "${machine:account}",
|
||||
"mode": "0644",
|
||||
"into": "block",
|
||||
"template": "files/known_hosts"
|
||||
},
|
||||
{
|
||||
"id": "forge-host",
|
||||
"type": "file",
|
||||
"path": "${machine:account-home}/.ssh/config.d/10-forge",
|
||||
"owner": "${machine:account}",
|
||||
"mode": "0600",
|
||||
"template": "files/forge"
|
||||
},
|
||||
{
|
||||
"id": "git-config-dir",
|
||||
"type": "directory",
|
||||
"path": "${machine:account-home}/.config/git",
|
||||
"owner": "${machine:account}",
|
||||
"mode": "0755"
|
||||
},
|
||||
{
|
||||
"id": "git-config",
|
||||
"type": "file",
|
||||
"path": "${machine:account-home}/.config/git/config",
|
||||
"owner": "${machine:account}",
|
||||
"mode": "0644",
|
||||
"into": "block",
|
||||
"template": "files/gitconfig"
|
||||
}
|
||||
],
|
||||
"facts": {
|
||||
|
||||
Reference in New Issue
Block a user