Be specific about OS Vendor support, and add additional EL 6 fixups
This commit is contained in:
		| @@ -9,6 +9,14 @@ | |||||||
|       state: 'present' |       state: 'present' | ||||||
|     - name: 'libselinux-python' |     - name: 'libselinux-python' | ||||||
|       state: 'present' |       state: 'present' | ||||||
|  |     - name: 'pyOpenSSL' | ||||||
|  |       state: 'present' | ||||||
|  |     - name: 'python-pyasn1' | ||||||
|  |       state: 'present' | ||||||
|  |     - name: 'python-urllib3' | ||||||
|  |       state: 'present' | ||||||
|  |     - name: 'python2-ndg_httpsclient' | ||||||
|  |       state: 'present' | ||||||
|   loop_control: |   loop_control: | ||||||
|     label: '{{ item.name }} will be {{ item.state }}' |     label: '{{ item.name }} will be {{ item.state }}' | ||||||
|   notify: |   notify: | ||||||
							
								
								
									
										38
									
								
								tasks/Oracle-6-default.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										38
									
								
								tasks/Oracle-6-default.yml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,38 @@ | |||||||
|  | --- | ||||||
|  | # tasks file for ensure_ansible_prereq | ||||||
|  | - name: 'package states' | ||||||
|  |   ansible.builtin.package: | ||||||
|  |     name: '{{ item.name }}' | ||||||
|  |     state: '{{ item.state }}' | ||||||
|  |   loop: | ||||||
|  |     - name: 'acpid' | ||||||
|  |       state: 'present' | ||||||
|  |     - name: 'libselinux-python' | ||||||
|  |       state: 'present' | ||||||
|  |     - name: 'pyOpenSSL' | ||||||
|  |       state: 'present' | ||||||
|  |     - name: 'python-pyasn1' | ||||||
|  |       state: 'present' | ||||||
|  |     - name: 'python-urllib3' | ||||||
|  |       state: 'present' | ||||||
|  |     - name: 'python2-ndg_httpsclient' | ||||||
|  |       state: 'present' | ||||||
|  |   loop_control: | ||||||
|  |     label: '{{ item.name }} will be {{ item.state }}' | ||||||
|  |   notify: | ||||||
|  |     - 'ensure_ansible_prereq.package_facts' | ||||||
|  |     - 'ensure_ansible_prereq.service_facts' | ||||||
|  | - name: 'service states' | ||||||
|  |   ansible.builtin.service: | ||||||
|  |     enabled: '{{ item.enabled }}' | ||||||
|  |     name: '{{ item.name }}' | ||||||
|  |     state: '{{ item.state }}' | ||||||
|  |   loop: | ||||||
|  |     - enabled: 'yes' | ||||||
|  |       name: 'acpid' | ||||||
|  |       state: 'started' | ||||||
|  |   loop_control: | ||||||
|  |     label: '{{ item.name }} will be {{ item.state }}' | ||||||
|  |   notify: | ||||||
|  |     - 'ensure_ansible_prereq.package_facts' | ||||||
|  |     - 'ensure_ansible_prereq.service_facts' | ||||||
		Reference in New Issue
	
	Block a user