From 77706e991b21c32a3d7639f7c974e5e20f61b88d Mon Sep 17 00:00:00 2001 From: Jacob Cody Wimer Date: Tue, 9 May 2017 20:50:37 -0400 Subject: [PATCH] Install tmux apache2-utils vim and xrdp on developer-machine --- roles/common/templates/sudoers.j2 | 30 ++++++++++++++++++++++++++ roles/developer-machine/tasks/main.yml | 12 +++++++++++ 2 files changed, 42 insertions(+) create mode 100644 roles/common/templates/sudoers.j2 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