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
This commit is contained in:
Dmitriy Rabotyagov 2020-10-27 19:03:16 +02:00
parent 47e5a90a7f
commit 857169a8a8

View File

@ -14,5 +14,5 @@
# limitations under the License.
- import_playbook: openstack-hosts-setup.yml
- import_playbook: security-hardening.yml
- import_playbook: containers-deploy.yml
- import_playbook: security-hardening.yml