Skip to content
Snippets Groups Projects
Commit c88b7532 authored by nimrod's avatar nimrod
Browse files

- Configure sudo using the users role (instead of adding the same tasks to each bootstrap role).

parent 505141ef
No related branches found
No related tags found
No related merge requests found
---
- hosts: example-openbsd*
gather_facts: false
roles: [openbsd-bootstrap]
roles:
- openbsd-bootstrap
- role: users
users: []
users_use_sudo: True
users_lock_root_ssh: False
- hosts: example-xenial
- hosts: [example-xenial, example-wheezy]
gather_facts: false
roles: [debian-bootstrap]
roles:
- debian-bootstrap
- role: users
users: []
users_use_sudo: True
users_lock_root_ssh: False
- hosts: all
roles:
......
......@@ -3,3 +3,5 @@
name: openbsd-bootstrap
- src: adarnimrod.debian-bootstrap
name: debian-bootstrap
- src: adarnimrod.users
name: users
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment