gitea install script; rename resolvers; fix lfs

This commit is contained in:
Keiran Snowden
2023-11-27 19:44:34 -05:00
parent 5be2a914ac
commit 1f89c93f30
8 changed files with 27 additions and 10 deletions

View File

@@ -0,0 +1,5 @@
127.0.0.1 localhost
::1 localhost
{% for ipaddr, names in salt.pillar.get('lan_hosts', {}).items() -%}
{{ ipaddr }} {{ names }}
{% endfor -%}

9
resolvers/init.sls Normal file
View File

@@ -0,0 +1,9 @@
/etc/hosts:
file.managed:
- source: 'salt://resolv/files/hosts.jinja'
- template: jinja
- user: root
- group: root
- mode: 0644