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

issue510
David Wilson 6 years ago
parent 574fc27a9c
commit 174b685d16

@ -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

Loading…
Cancel
Save