update yum config
diff --git a/defaults/main.yml b/defaults/main.yml index c45cadc..39445ac 100644 --- a/defaults/main.yml +++ b/defaults/main.yml
@@ -24,3 +24,25 @@ - passlib - requests - kazoo + +yum_os_minimum_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-servers +
diff --git a/tasks/with_no_proxy.yml b/tasks/with_no_proxy.yml index 388c3ed..214334e 100644 --- a/tasks/with_no_proxy.yml +++ b/tasks/with_no_proxy.yml
@@ -22,25 +22,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_os_minimum_packages }}" - name: Start rngd service service: