]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ansible: do not pre-populate an SSH key for docs.ceph.com 207/head
authorKen Dreyer <kdreyer@redhat.com>
Fri, 6 Nov 2015 17:33:39 +0000 (10:33 -0700)
committerKen Dreyer <kdreyer@redhat.com>
Fri, 6 Nov 2015 22:46:38 +0000 (15:46 -0700)
The new docs VM is moving behind a firewall / reverse-proxy, so it will
not be directly accessible from the internet. We will to run the
documentation jobs directly on the docs VM as a Jenkins slave, and we
will stop using rsync over SSH for publishing the docs.

Since there's no direct SSH access to the docs VM any more, remove the
SSH host key from the slaves.

(My Ansible syntax in slave.yml.j2 was broken anyway.)

ansible/slave.yml
ansible/slave.yml.j2

index 9917a33b3dec76041c2754b1cecae98c7113425f..2bdc3adac576db58d479620afd67ae6a6e688c4d 100644 (file)
       sudo: true
       pip: name=python-jenkins
 
-    - name: add docs.ceph.com host key
-      sudo: true
-      known_hosts:
-        path: '/etc/ssh/ssh_known_hosts'
-        name: 'docs.ceph.com'
-        # docs.ceph.com.pub is the output of `ssh-keyscan docs.ceph.com`
-        key: "{{ lookup('file', 'ssh/hostkeys/docs.ceph.com.pub') }}"
-
     - name: add github.com host key
       sudo: true
       known_hosts:
index 629a0bfccba7846638028fae1de820cf0884cbcd..8ad7e2c0d4e8bc9b4309753fe0c068cd580930d5 100644 (file)
       # https://bugs.launchpad.net/python-jenkins/+bug/1500898
       pip: name=python-jenkins version=0.4.7
 
-    - name: add docs.ceph.com host key
-      sudo: true
-      known_hosts: path='/etc/ssh/ssh_known_hosts'
-      name='docs.ceph.com'
-      # docs.ceph.com.pub is the output of `ssh-keyscan docs.ceph.com`
-      key="{{ lookup('file', 'ssh/hostkeys/docs.ceph.com.pub') }}"
-
     - name: add github.com host key
       sudo: true
       known_hosts: