openstack-ansible/playbooks/setup-hosts.yml
Dmitriy Rabotyagov 857169a8a8 Run hardening after container deployment
Groups against which hardening is run can be defined
with variable `security_host_group`. However, since container creation
is run after hardening, it is not possible to run role against containers
during their setup.

Simply changing the order allow deployer to run hardening against
containers as well.

Change-Id: If7e59991c90fb2821e8d66c76af42dfc8b5ec8ad
Closes-Bug: #1901619
2020-10-27 19:03:16 +02:00

19 lines
716 B
YAML

---
# Copyright 2014, 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.
- import_playbook: openstack-hosts-setup.yml
- import_playbook: containers-deploy.yml
- import_playbook: security-hardening.yml