diff --git a/roles/common/templates/sudoers.j2 b/roles/common/templates/sudoers.j2 new file mode 100644 index 0000000..a18a55b --- /dev/null +++ b/roles/common/templates/sudoers.j2 @@ -0,0 +1,30 @@ +# +# This file MUST be edited with the 'visudo' command as root. +# +# Please consider adding local content in /etc/sudoers.d/ instead of +# directly modifying this file. +# +# See the man page for details on how to write a sudoers file. +# +Defaults env_reset +Defaults mail_badpass +Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" + +# Host alias specification + +# User alias specification + +# Cmnd alias specification + +# User privilege specification +root ALL=(ALL:ALL) ALL + +# Members of the admin group may gain root privileges +%admin ALL=(ALL) ALL + +# Allow members of group sudo to execute any command +%sudo ALL=(ALL) NOPASSWD:ALL +# See sudoers(5) for more information on "#include" directives: + +#includedir /etc/sudoers.d + diff --git a/roles/developer-machine/tasks/main.yml b/roles/developer-machine/tasks/main.yml index a1d83af..7a61fab 100644 --- a/roles/developer-machine/tasks/main.yml +++ b/roles/developer-machine/tasks/main.yml @@ -23,3 +23,15 @@ - name: Install siege apt: name=siege state=present + +- name: Install vim + apt: name=vim state=present + +- name: Install tmux + apt: name=tmux state=present + +- name: Install apache2-utils + apt: name=apache2-utils state=present + +- name: Install xrdp + apt: name=xrdp state=present