hardode datacenter to home for now and use local mirror for openbsd packages

This commit is contained in:
Timo Makinen 2019-05-23 17:36:14 +03:00
parent 6e996b7252
commit fd64da10cf
2 changed files with 11 additions and 0 deletions

View file

@ -13,3 +13,6 @@ tls_ciphers: ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECD
# defaults for tls diretories
tls_certs: /etc/pki/tls/certs
tls_private: /etc/pki/tls/private
# hardcode this for now
ansible_datacenter: home

View file

@ -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: