moved yum packages list into variable
diff --git a/defaults/main.yml b/defaults/main.yml index c45cadc..5f10a8d 100644 --- a/defaults/main.yml +++ b/defaults/main.yml
@@ -24,3 +24,26 @@ - passlib - requests - kazoo + +yum_packages: +- bind-utils +- chkconfig +- curl +- tar +- wget +- yum-utils +- unzip +- rsync +- which +- libselinux-python +- nss +- openssh-clients +- openssh-server +- grep +- rpm +- rng-tools +- sed +- unzip +- openldap-clients-2.4.40 +- openldap-servers-2.4.40 +- openldap-2.4.40 \ No newline at end of file
diff --git a/tasks/with_no_proxy.yml b/tasks/with_no_proxy.yml index 656ea66..1f8b24d 100644 --- a/tasks/with_no_proxy.yml +++ b/tasks/with_no_proxy.yml
@@ -5,25 +5,7 @@ yum: name: "{{ item }}" state: present - with_items: - - bind-utils - - chkconfig - - curl - - tar - - wget - - yum-utils - - unzip - - rsync - - which - - libselinux-python - - nss - - openssh-clients - - openssh-server - - grep - - rpm - - rng-tools - - sed - - unzip + with_items: "{{ yum_packages }}" - name: Start rngd service service: