# HG changeset patch # User Meredith Howard # Date 1458486936 14400 # Node ID 726aff97f1986f1bf3b1f05290fe63d9a7aaff7a # Parent 14ce4f21537e3a354f5438ec85e2bcaf3629e5dd normalize diff --git a/roles/ag/tasks/main.yml b/roles/ag/tasks/main.yml --- a/roles/ag/tasks/main.yml +++ b/roles/ag/tasks/main.yml @@ -1,10 +1,7 @@ --- - - include_vars: "{{ansible_os_family}}.yml" - package: - name: "{{ ag_package }}" + name: "{{ dist_package }}" state: latest tags: packages, install - when: ansible_os_family == 'Debian' - diff --git a/roles/ag/vars/Debian.yml b/roles/ag/vars/Debian.yml --- a/roles/ag/vars/Debian.yml +++ b/roles/ag/vars/Debian.yml @@ -1,4 +1,2 @@ --- - -ag_package: silversearcher-ag - +dist_package: silversearcher-ag diff --git a/roles/ag/vars/FreeBSD.yml b/roles/ag/vars/FreeBSD.yml --- a/roles/ag/vars/FreeBSD.yml +++ b/roles/ag/vars/FreeBSD.yml @@ -1,4 +1,2 @@ --- - -ag_package: the_silver_searcher - +dist_package: the_silver_searcher diff --git a/roles/ag/vars/MacOSX.yml b/roles/ag/vars/MacOSX.yml --- a/roles/ag/vars/MacOSX.yml +++ b/roles/ag/vars/MacOSX.yml @@ -1,4 +1,2 @@ --- - -ag_package: the_silver_searcher - +dist_package: the_silver_searcher