# HG changeset patch # User Meredith Howard # Date 1458486915 14400 # Node ID 14ce4f21537e3a354f5438ec85e2bcaf3629e5dd # Parent 1547794356390baf9663b3f315d194c74d31bdbc add ctags role diff --git a/roles/ctags/tasks/main.yml b/roles/ctags/tasks/main.yml new file mode 100644 --- /dev/null +++ b/roles/ctags/tasks/main.yml @@ -0,0 +1,7 @@ +--- +- include_vars: "{{ansible_os_family}}.yml" + +- package: + name: "{{ dist_package }}" + state: latest + tags: packages, install diff --git a/roles/ctags/vars/Debian.yml b/roles/ctags/vars/Debian.yml new file mode 100644 --- /dev/null +++ b/roles/ctags/vars/Debian.yml @@ -0,0 +1,2 @@ +--- +dist_package: exuberant-ctags diff --git a/roles/ctags/vars/FreeBSD.yml b/roles/ctags/vars/FreeBSD.yml new file mode 100644 --- /dev/null +++ b/roles/ctags/vars/FreeBSD.yml @@ -0,0 +1,2 @@ +--- +dist_package: ctags diff --git a/roles/ctags/vars/MacOSX.yml b/roles/ctags/vars/MacOSX.yml new file mode 100644 --- /dev/null +++ b/roles/ctags/vars/MacOSX.yml @@ -0,0 +1,2 @@ +--- +dist_package: ctags