Add pkg refresh for FreeBSD. Create SSH key with shell instead of fancy module. Still looking into how to (safely) get newer ansible on Debian.
This commit is contained in:
@ -1,11 +1,15 @@
|
||||
---
|
||||
# Cross-platform package management.
|
||||
|
||||
- name: Repo Cache Refresh
|
||||
- name: Repo Cache Refresh (Apt and Pacman)
|
||||
package:
|
||||
update_cache: yes
|
||||
when: ansible_pkg_mgr in ["apt", "pacman"]
|
||||
|
||||
- name: Repo Cache Refresh (FreeBSD)
|
||||
shell: pkg update
|
||||
when: ansible_system == "FreeBSD"
|
||||
|
||||
- name: Repo Install Software
|
||||
package:
|
||||
name:
|
||||
|
Reference in New Issue
Block a user