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
|
@ -13,3 +13,6 @@ tls_ciphers: ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECD
|
||||||
# defaults for tls diretories
|
# defaults for tls diretories
|
||||||
tls_certs: /etc/pki/tls/certs
|
tls_certs: /etc/pki/tls/certs
|
||||||
tls_private: /etc/pki/tls/private
|
tls_private: /etc/pki/tls/private
|
||||||
|
|
||||||
|
# hardcode this for now
|
||||||
|
ansible_datacenter: home
|
||||||
|
|
|
@ -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
|
- name: install packages
|
||||||
package:
|
package:
|
||||||
|
|
Loading…
Add table
Reference in a new issue