diff options
author | Lars Wirzenius <liw@liw.fi> | 2018-01-20 15:19:12 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2018-01-20 15:19:12 +0200 |
commit | 25990775841b731588945ab5e8d637b966d399ae (patch) | |
tree | 203b85314e6116a4b75ed1ccb5a46df7d135648e /roles/ick-controller | |
parent | 5b74416d773810448ba1f4bf4e53ec8f1b700ffc (diff) | |
download | ick2-ansible-25990775841b731588945ab5e8d637b966d399ae.tar.gz |
Add: disable StrictHostKeyChecking in ssh
My CI jobs need to use ssh to access other hosts and I don't currently
want to ack each new host manually, and it's not always easy to pass
in the setting for each CI job explicitly.
Diffstat (limited to 'roles/ick-controller')
-rw-r--r-- | roles/ick-controller/tasks/main.yml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/roles/ick-controller/tasks/main.yml b/roles/ick-controller/tasks/main.yml index ac0bf10..6e4496e 100644 --- a/roles/ick-controller/tasks/main.yml +++ b/roles/ick-controller/tasks/main.yml @@ -9,6 +9,7 @@ - debootstrap - jq - less + - htop - locales-all - systemd-container @@ -42,7 +43,7 @@ group: root mode: 0644 -- name: install blob servie config +- name: install blob service config template: src: blob_service.conf.j2 dest: /etc/ick/blob_service.conf @@ -92,3 +93,9 @@ - ick2-worker-manager - blob-service - haproxy + +- name: configure ssh client with StrictHostKeyChecking=no + lineinfile: + dest: /etc/ssh/ssh_config + state: present + line: "StrictHostKeyChecking no" |