tests: CentOS 6 lacks %wheel in sudo by default.

This commit is contained in:
David Wilson 2018-11-05 12:40:48 +00:00
parent 574fc27a9c
commit 174b685d16
1 changed files with 5 additions and 1 deletions

View File

@ -2,7 +2,6 @@
- hosts: all
strategy: linear
gather_facts: false
become: true
tasks:
- raw: >
if ! python -c ''; then
@ -96,6 +95,11 @@
dest: /etc/sudoers.d/001-mitogen
src: ../data/docker/001-mitogen.sudo
- lineinfile:
path: /etc/sudoers
line: "%wheel ALL=(ALL) ALL"
when: distro == "CentOS"
- lineinfile:
path: /etc/ssh/sshd_config
line: Banner /etc/ssh/banner.txt