updated with entropy config
diff --git a/tasks/main.yml b/tasks/main.yml
index 5dbeb71..6e013ce 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -40,6 +40,13 @@
include: with_proxy.yml
when: http_proxy is defined and https_proxy is defined
+- name: Update System Entropy Settings
+ lineinfile:
+ backrefs: yes
+ path: /usr/lib/systemd/system/rngd.service
+ regexp: '^(ExecStart=/sbin/rngd -f)'
+ line: '\1 -r /dev/urandom'
+
- name: Start rngd service
service:
name: rngd
diff --git a/tasks/with_no_proxy.yml b/tasks/with_no_proxy.yml
index 6954173..0c57486 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_os_minimum_packages }}"
- name: Download pip package manager
become: yes