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