]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
testnode: Remove manual configuration of getty 235/head
authorDavid Galloway <dgallowa@redhat.com>
Tue, 26 Apr 2016 20:49:28 +0000 (16:49 -0400)
committerDavid Galloway <dgallowa@redhat.com>
Thu, 28 Apr 2016 17:46:07 +0000 (13:46 -0400)
Manual configuration of the getty service is no longer required for
Trusty or later.  The system-specific "console=ttySX" parameter in
/proc/cmdline is enough to configure the SOL tty during Ubuntu
installation.

See http://tracker.ceph.com/issues/15269 for further explanation.

Signed-off-by: David Galloway <dgallowa@redhat.com>
roles/testnode/handlers/main.yml
roles/testnode/tasks/setup-ubuntu-non-aarch64.yml
roles/testnode/templates/ttyS1.conf [deleted file]
roles/testnode/templates/ttyS2.conf [deleted file]

index add7492068787edd9f6690b63a3fb807e7323554..a87e9106f39ae69a118ab795aa9b587d6dbe6628 100644 (file)
     name: cron
     state: restarted
 
-- name: start ttyS1
-  service:
-    name: ttyS1
-    state: started
-
-- name: start ttyS2
-  service:
-    name: ttyS2
-    state: started
-
 - name: restart nagios-nrpe-server
   service:
     name: "{{ nrpe_service_name }}"
index b4d1d9fe030e7784c162209dd2d76abbb86b8009..836669d5a82e96b5da328f51de9ec6470a90c7dd 100644 (file)
   tags:
     - kernel_logging
 
-- name: Upload ttyS1.conf.
-  template:
-    src: ttyS1.conf
-    dest: /etc/init/ttyS1.conf
-    owner: root
-    group: root
-    mode: 0644
-  notify:
-    - start ttyS1
-  when: not ansible_hostname | search("^target")
-
-# this only runs on mira nodes
-- name: Upload ttyS2.conf.
-  template:
-    src: ttyS2.conf
-    dest: /etc/init/ttyS2.conf
-    owner: root
-    group: root
-    mode: 0644
-  notify:
-    - start ttyS2
-  when: ansible_hostname | search("^mira*")
-
 - name: Enable kernel modules to load at boot time.
   template:
     src: modules
diff --git a/roles/testnode/templates/ttyS1.conf b/roles/testnode/templates/ttyS1.conf
deleted file mode 100644 (file)
index b7bd47d..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-# {{ ansible_managed }}
-# ttyS1 - getty
-#
-# This service maintains a getty on ttyS1 from the point the system is
-# started until it is shut down again.
-
-start on stopped rc RUNLEVEL=[2345]
-stop on runlevel [!2345]
-
-respawn
-exec /sbin/getty -8 115200 ttyS1
diff --git a/roles/testnode/templates/ttyS2.conf b/roles/testnode/templates/ttyS2.conf
deleted file mode 100644 (file)
index 105040f..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-# {{ ansible_managed }}
-# ttyS2 - getty
-#
-# This service maintains a getty on ttyS2 from the point the system is
-# started until it is shut down again.
-
-start on stopped rc RUNLEVEL=[2345]
-stop on runlevel [!2345]
-
-respawn
-exec /sbin/getty -8 115200 ttyS2