Files
dsfin-ansible/set_sudoer.yml
Pi 23915d0549 -change hosts file - will maintain hosts file on multipe machines.
for the scope of this type of demo network, this is much simpler
than installing and managing dns.
2019-03-14 12:55:33 -04:00

11 lines
218 B
YAML
Executable File

---
- hosts: all
tasks:
- lineinfile:
path: /etc/sudoers
state: present
regexp: '^%sudo'
line: '%sudo ALL=(ALL) NOPASSWD: ALL'
validate: 'visudo -cf %s'
become: true