hardode datacenter to home for now and use local mirror for openbsd packages
This commit is contained in:
parent
6e996b7252
commit
fd64da10cf
2 changed files with 11 additions and 0 deletions
|
@ -1,4 +1,12 @@
|
|||
---
|
||||
- name: configure mirror for packages and updates
|
||||
copy:
|
||||
dest: /etc/installurl
|
||||
content: "https://mirrors.foo.sh/openbsd\n"
|
||||
mode: 0644
|
||||
owner: root
|
||||
group: "{{ ansible_wheel }}"
|
||||
when: ansible_datacenter == "home"
|
||||
|
||||
- name: install packages
|
||||
package:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue