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
Loading
Loading
Loading
Loading
+13 −3
Original line number Diff line number Diff line
---
- 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:
+2 −0
Original line number Diff line number Diff line
@@ -3,3 +3,5 @@
  name: openbsd-bootstrap
- src: adarnimrod.debian-bootstrap
  name: debian-bootstrap
- src: adarnimrod.users
  name: users