diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-08-31 18:38:51 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-08-31 18:38:51 +0300 |
commit | b10928a404a30adc91c6a537a131b4714da5fa70 (patch) | |
tree | 9ab8a43a0599fcb8a2da3c389e6889eb9d5781d8 | |
parent | b4985bdeb3c02100694bf67d126b74133118092e (diff) | |
download | ansibleness-b10928a404a30adc91c6a537a131b4714da5fa70.tar.gz |
mirror-git: set ssh port for git.liw.fi
Sponsored-by: author
-rw-r--r-- | ansible/files/mirror_ssh_config | 2 | ||||
-rw-r--r-- | ansible/mirror-git.yml | 7 |
2 files changed, 9 insertions, 0 deletions
diff --git a/ansible/files/mirror_ssh_config b/ansible/files/mirror_ssh_config new file mode 100644 index 0000000..f63f188 --- /dev/null +++ b/ansible/files/mirror_ssh_config @@ -0,0 +1,2 @@ +Host git.liw.fi + Port 12765 diff --git a/ansible/mirror-git.yml b/ansible/mirror-git.yml index f060160..e051391 100644 --- a/ansible/mirror-git.yml +++ b/ansible/mirror-git.yml @@ -7,6 +7,13 @@ - role: self-updating-system - role: smarthost-client tasks: + - name: "configure ssh client" + copy: + src: mirror_ssh_config + dest: /home/liw/.ssh/config + owner: liw + group: liw + mode: 0644 - name: "install git and more" apt: state: present |