Skip to content
Snippets Groups Projects

Remove [node_exporters]/[wireguard] from inventory + Replace dynamic hcloud inventory with host entries

Merged Evangelos Foutras requested to merge inventory-tweaks into master
  1. May 12, 2022
    • Evangelos Foutras's avatar
      Replace dynamic hcloud inventory with host entries · 62f93478
      Evangelos Foutras authored
      We make almost no use of the dynamic properties of the hcloud inventory,
      so we can simplify this by declaring all cloud servers in the main hosts
      inventory.
      
      The main benefit of this change is that temporary and experimental cloud
      servers are not automatically included in the Ansible playbooks. In such
      cases it is usually incorrect to deploy changes to these unknown servers.
      
      A smaller side benefit is that Ansible will now use hostnames to connect
      to cloud servers, whereas the dynamic inventory provided IPv4 addresses.
      This results in more meaningful ~/.ssh/known_hosts entries.
      Verified
      62f93478
    • Evangelos Foutras's avatar
      Remove [node_exporters]/[wireguard] from inventory · 248e57b3
      Evangelos Foutras authored
      All servers are part of these groups which makes them redundant.
      Verified
      248e57b3
Loading