Testing ansible_pkg_mgr fact.
This commit is contained in:
parent
062116df5a
commit
0a6ed914b4
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user