Skip to content

An Ansible role to add a floating ip to hetzner cloud servers

Notifications You must be signed in to change notification settings

konekto/ansible-cloud-floating-ip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible cloud floating ip

This role can set the floating ip of a Hetzner cloud server. It creates the network script and restarts the server.

See the Hetzner wiki for more details: https://wiki.hetzner.de/index.php/Cloud_floating_IP_persistent/en

Role Variables

  • floating_ip - The floating ip for the server. (mandatory)

Example Playbook

Here a simple example for a playbook

- name: Add floating ip to all cloud servers
  hosts: all
  roles:
    - role: ansible-cloud-floating-ip
      vars:
        floating_ip: 8.8.8.8

License

MIT

Author Information

the team of konek.to. http://konek.to 2018

About

An Ansible role to add a floating ip to hetzner cloud servers

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages