]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commit
testnode: Add support for OpenSUSE Leap 15.0
authorDavid Galloway <dgallowa@redhat.com>
Tue, 2 Oct 2018 18:42:51 +0000 (14:42 -0400)
committerDavid Galloway <dgallowa@redhat.com>
Tue, 2 Oct 2018 20:32:46 +0000 (16:32 -0400)
commitb13c4af8af2126540b9beda1a03b5c88f43c44b9
treeab53846fec84eaa660a4eb9b0bbc3f1b91e28e67
parentf6162e7f9b99b8321d637e0f4409b510804e0714
testnode: Add support for OpenSUSE Leap 15.0

Some notes:

  - Setting hostname with ansible fails.  It's a known issue.  Bug is in
the yaml.  teuthology sets the hostname after FOG provisioning anyway so
NBD.
  - Leap mounts all of the root subdirs as separate mountpoints so the `zap`
tasks had to be modified to not wipe those out
  - The sshd config is named `sshd_config_opensuse_leap_NA` because the
task that installs the SSHD config uses {{
ansible_distribution_major_version }} which isn't set to 15.0 in Leap
apparently.

Signed-off-by: David Galloway <dgallowa@redhat.com>
roles/testnode/tasks/set_hostname.yml
roles/testnode/tasks/zap_disks.yml
roles/testnode/tasks/zypper/packages.yml
roles/testnode/templates/ssh/sshd_config_opensuse_leap_NA [new file with mode: 0644]
roles/testnode/vars/opensuse_leap_15.0.yml [new file with mode: 0644]
roles/testnode/vars/zypper_systems.yml