Merge pull request #70 from cityofships/optimize

CentOS: Optimise package installs
This commit is contained in:
Larry Smith Jr
2021-11-22 15:12:41 -05:00
committed by GitHub
+4 -8
View File
@@ -1,19 +1,15 @@
--- ---
- name: centos | installing lvm2 - name: centos | installing lvm2 and sg3_utils
package: package:
name: lvm2 name:
- lvm2
- sg3_utils
state: present state: present
become: true become: true
- include_tasks: amazon.yml - include_tasks: amazon.yml
when: ansible_facts.system_vendor == 'Amazon EC2' when: ansible_facts.system_vendor == 'Amazon EC2'
- name: centos | installing sg3_utils
package:
name: sg3_utils
state: present
become: true
- name: centos | debug lvg - name: centos | debug lvg
debug: debug:
var: lv var: lv