localhost

Ansible Localhost Role

Lint Ansible roles

Release role to Ansible Galaxy

Actions of the Role

  • Create a loopback alias interface (100.64.64.64 by default).

Common Usage

roles:
  - {
    role: localhost,
    localhost_alias_ip: "100.64.64.64",
    tags: ["netplan"]
  }

Run the playbook

ansible-playbook -i inventory playbook.yaml -t "localhost"
About

Create localhost alias with netplan

Install
ansible-galaxy install francomile/ansible-role-localhost
GitHub repository
License
gpl-2.0
Downloads
4
Owner
Senior Systems Engineer | DevOps. Solutions Engineer at @varnish