Testing ansible_pkg_mgr fact.
This commit is contained in:
		| @@ -14,13 +14,15 @@ | ||||
| - name: Testing Package Cache Refresh | ||||
|   package: | ||||
|     update_cache: yes | ||||
|   when: ansible_distribution in ["Debian", "Ubuntu"] or | ||||
|         ansible_os_family in ["Debian", "Ubuntu"] | ||||
|   when: ansible_os_family in ["Debian", "Ubuntu"] | ||||
|  | ||||
| - name: Testing Apt Cache Refresh | ||||
|   apt: update_cache=yes | ||||
|   when: ansible_distribution in ["Debian", "Ubuntu"] or | ||||
|         ansible_os_family in ["Debian", "Ubuntu"] | ||||
|   when: ansible_distribution in ["Debian", "Ubuntu"] | ||||
|  | ||||
| - name: Testing Apt Cache Refresh 2 | ||||
|   apt: update_cache=yes | ||||
|   when: ansible_pkg_mgr = "apt" | ||||
|  | ||||
| - name: Remove Repo Software | ||||
|   package:  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user