Comments (2)
Can you do pull request? as far as I remember I've tried your method once, it wasn't working on debian I think, or in RHEL... when I did like it does now, it started to work.
from ansible-fqdn.
The way it's done now in this role doesn't seem to work on Debian:
% cat /etc/hosts
127.0.0.1 localhost
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
216.120.248.265 staging staging.example.com
% hostname
staging
% hostname --fqdn
staging
This causes issues with mail (among other things). Of course I changed my server's address and hostname in the example.
from ansible-fqdn.
Related Issues (20)
- Building of /etc/hosts includes wrong data HOT 4
- version tags HOT 4
- Lineinfile misses pre-existing /etc/hosts entry HOT 2
- Update metadata on galaxy HOT 3
- custom hostname not used
- async mode not supported for service module in Ansible 2.2
- add handler to avoid to always bounce the service HOT 2
- ansible-2.2.0.0 - Service module no longer works with async HOT 1
- Debian : ansible failed if non-root and dbus not install
- debian 8.6 HOT 2
- Improve .travis.yml HOT 8
- IPv6 HOT 4
- Centos6 : Aborting, target uses selinux but python bindings (libselinux-python) aren't installed! HOT 1
- Custom IP address for multi-interface machines
- `domainname` on Ubuntu 18.04 returns (none) HOT 2
- Ansible galaxy not displaying tagged versions HOT 2
- "include:" is deprecated starting with Ansible 2.14 HOT 1
- debian task in empty
- Reasonable defaults HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-fqdn.