Files
Major Hayden 744e9b9ca7 Allow AppArmor to be enabled
This patch is a modified backport of the following two master commits:

  * Ia017f12be0d60ea74b54396bc8278e4db92295ba
  * Iae976f283df77556a71833f857a906097e6f8aeb

A clean backport isn't possible because master has some configuration for
SELinux, which doesn't make sense for Mitaka/Liberty. Also, master has
the LSM enabled by default and this change could be disruptive in a
stable release. It is now disabled by default in the backport.

Change-Id: Ia673c3634d719f16b324a0e8473ebca7ebf336fb
2016-06-13 08:36:31 -05:00

41 lines
1.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: Verify if we're using check mode
command: /bin/true
register: noop_result
tags:
- always
- name: Set facts
set_fact:
check_mode: "{{ noop_result | skipped }}"
tags:
- always
- include: apt.yml
- include: auditd.yml
- include: auth.yml
- include: boot.yml
- include: console.yml
- include: file_perms.yml
- include: kernel.yml
- include: lsm.yml
- include: mail.yml
- include: misc.yml
- include: nfsd.yml
- include: services.yml
- include: sshd.yml