Skip to content

Commit

Permalink
hosts_hayaworld.ymlの廃止に伴いリファクタ
Browse files Browse the repository at this point in the history
  • Loading branch information
cradle8810 committed Apr 30, 2024
1 parent cbb8c3b commit 1d11e45
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion rui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
- inventories/host_vars/rui/ads_hosts/NXDOMAIN.yml
- inventories/host_vars/rui/ads_hosts/NXDOMAIN_book_scam.yml
- inventories/host_vars/rui.yml
- inventories/host_vars/hosts_hayaworld.yml
- inventories/host_vars/networks.yml

handlers:
Expand Down
4 changes: 2 additions & 2 deletions templates/rui/etc/hosts.j2
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6

{% for item in hosts_hayaworld %}
{{ item.IP }} {{ item.A }}
{% for host in network.values() %}
{{ host.ipv4 }} {{ host.hostname }}
{% endfor %}

0 comments on commit 1d11e45

Please sign in to comment.