If you are using GitLab outside of the ILL, then you will need to use HTTPS and not SSH for clone/push/pull operations. SSH will work normally if you are using the VPN.

Commit b4ac9fd4 authored by eric pellegrini's avatar eric pellegrini

bug fix with path expansion

parent 494ef6fa
......@@ -3,7 +3,7 @@
- name: remove offending ECDSA host key from known_hosts
known_hosts:
name: "{{ item }}"
path: "~/.ssh/known_hosts | expanduser"
path: "{{ '~/.ssh/known_hosts' | expanduser }}"
state: absent
loop: "{{ known_hosts }}"
when: known_hosts is defined
......@@ -11,7 +11,7 @@
- name: template the ssh config file
template:
src: "ssh_config.j2"
dest: "~/.ssh/config | expanduser"
dest: "{{ '~/.ssh/config' | expanduser }}"
mode: "700"
force: True
when: identity_files is defined
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment