5094011164
This change removes ceilometer from the integrated gate. Sadly the ceilomteter roles and playbooks have been a little neglected which has resulted in a slow and sometimes unstable system. To improve gate times ceilometer has been pulled out of the integrated gate. Once we're able to get the ceilometer roles and playbooks updated to the latest release and we're able to resolve all of the deprecations we should put these rolse back in rotation for the integrated gate. Change-Id: I116928a1db96e242ed87177578581fe7bf16a001 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
105 lines
3.1 KiB
YAML
105 lines
3.1 KiB
YAML
---
|
|
# Copyright 2015, Rackspace US, Inc.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
- name: Bootstrap the All-In-One (AIO)
|
|
hosts: localhost
|
|
gather_facts: True
|
|
user: root
|
|
roles:
|
|
- role: "sshd"
|
|
- role: "pip_install"
|
|
- role: "bootstrap-host"
|
|
vars:
|
|
openstack_confd_entries: "{{ confd_overrides[scenario] }}"
|
|
bootstrap_host_scenario: "{{ scenario }}"
|
|
scenario: "{{ lookup('env','SCENARIO') | default('aio', true) }}"
|
|
confd_overrides:
|
|
aio:
|
|
- name: cinder.yml.aio
|
|
- name: designate.yml.aio
|
|
- name: glance.yml.aio
|
|
- name: heat.yml.aio
|
|
- name: horizon.yml.aio
|
|
- name: keystone.yml.aio
|
|
- name: neutron.yml.aio
|
|
- name: nova.yml.aio
|
|
- name: swift.yml.aio
|
|
ceph:
|
|
- name: ceph.yml.aio
|
|
- name: cinder.yml.aio
|
|
- name: glance.yml.aio
|
|
- name: heat.yml.aio
|
|
- name: horizon.yml.aio
|
|
- name: keystone.yml.aio
|
|
- name: neutron.yml.aio
|
|
- name: nova.yml.aio
|
|
upgrade:
|
|
# This starts as an AIO box, then an upgrade is run
|
|
- name: aodh.yml.aio
|
|
- name: cinder.yml.aio
|
|
- name: ceilometer.yml.aio
|
|
- name: designate.yml.aio
|
|
- name: glance.yml.aio
|
|
- name: gnocchi.yml.aio
|
|
- name: heat.yml.aio
|
|
- name: horizon.yml.aio
|
|
- name: keystone.yml.aio
|
|
- name: neutron.yml.aio
|
|
- name: nova.yml.aio
|
|
- name: swift.yml.aio
|
|
sftp_subsystem: "{{ (ansible_pkg_mgr == 'apt') | ternary('sftp /usr/lib/openssh/sftp-server','sftp /usr/libexec/openssh/sftp-server') }}"
|
|
sshd:
|
|
ListenAddress:
|
|
- 0.0.0.0
|
|
- '::'
|
|
Port: 22
|
|
Protocol: 2
|
|
HostKey:
|
|
- "/etc/ssh/ssh_host_rsa_key"
|
|
- "/etc/ssh/ssh_host_ecdsa_key"
|
|
- "/etc/ssh/ssh_host_ed25519_key"
|
|
UsePrivilegeSeparation: yes
|
|
KeyRegenerationInterval: 3600
|
|
ServerKeyBits: 1024
|
|
SyslogFacility: "AUTH"
|
|
LogLevel: "INFO"
|
|
LoginGraceTime: 120
|
|
StrictModes: yes
|
|
RSAAuthentication: yes
|
|
PubkeyAuthentication: yes
|
|
IgnoreRhosts: yes
|
|
RhostsRSAAuthentication: no
|
|
HostbasedAuthentication: no
|
|
PermitEmptyPasswords: no
|
|
PermitRootLogin: yes
|
|
ChallengeResponseAuthentication: no
|
|
PasswordAuthentication: no
|
|
X11DisplayOffset: 10
|
|
PrintMotd: no
|
|
PrintLastLog: no
|
|
TCPKeepAlive: yes
|
|
AcceptEnv: "LANG LC_*"
|
|
Subsystem: "{{ sftp_subsystem }}"
|
|
UsePAM: yes
|
|
UseDNS: no
|
|
X11Forwarding: no
|
|
Compression: yes
|
|
CompressionLevel: 6
|
|
MaxSessions: 100
|
|
MaxStartups: "100:100:100"
|
|
GSSAPIAuthentication: no
|
|
GSSAPICleanupCredentials: no
|
|
|