Commit graph

28 commits

Author SHA1 Message Date
Michael Scherer
2e0307e083 Port hostname to a py24 and py3 compatible syntax (#3676) 2016-05-17 10:21:26 -07:00
Joao Carreira
a7c3c82162 added support for sles 10 & 11 2016-03-02 12:33:15 +00:00
Toshio Kuratomi
09e2457eb0 Fix documentation build in hostname 2016-01-21 08:37:56 -08:00
Hiroaki Nakamura
9f2bd22a3d Doc: Add NOTE about hostname modules does not modify /etc/hosts 2016-01-12 20:29:22 +09:00
Michael Scherer
8ccfdb874e Remove a unneeded use of use_unsafe_shell
Since use_unsafe_shell is suspicious from a security point
of view (or it wouldn't be unsafe), the less we have, the less
code we have to toroughly inspect for a security audit.
2015-12-10 00:00:19 +01:00
Sina Sadeghi
ae582adce6 Update hostname.py
Added support for FreeBSD. (http://www.freebsd.org)
2015-11-29 18:00:44 +11:00
Jordi De Groof
6584b59d91 Update facts when hostname is changed
ansible_hostname contains the unqualified hostname
2015-11-11 20:23:24 +01:00
chriskarel
32a21a9b61 Update hostname.py
Added support for Oracle Linux.  (http://www.oracle.com/linux)
2015-10-22 16:49:34 -05:00
Tim Rupp
48f522455d Add hostname support for Kali linux 2.0
This patch allows the hostname module to detect and set the hostname for a
Kali Linux 2.0 installation. Without this patch, the hostname module raises
the following error

   hostname module cannot be used on platform Linux (Kali)

Kali is based off of Debian.
2015-08-28 20:35:24 -07:00
saito-hideki
e91ad2ab6c Add Solaris support in hostname module
feature_pull_request: #1804
2015-07-25 23:32:55 +09:00
saito-hideki
b991a2708b Add Solaris support in hostname module 2015-07-25 21:48:13 +09:00
Hagai Kariti
9d833d1d4c Hostname module should update ansible_hostname 2015-06-21 12:07:41 +03:00
Greg DeKoenigsberg
2a5f0bde87 Proper author info for all remaining modules 2015-06-15 15:53:30 -04:00
Vladislav Lewin
771b369005 add SLE12 support to hostname.py 2015-05-22 13:26:25 +02:00
Jonathan Mainguy
f7064c672c added nice error for systemd hosts where name > 64 chars 2015-05-18 23:02:05 -04:00
Jonathan Mainguy
ffbdd349b8 added openbsd to hostname module 2015-05-17 23:42:49 -04:00
Evgenii Terechkov
d1595b99bc Add ALT Linux support to hostname module 2015-04-25 01:25:14 +07:00
Philippe ALEXANDRE
ac1a64e62f Add Linuxmint support in hostname module 2015-02-06 21:29:25 +01:00
Ben Konrath
347234b937 Add support for SL7 to hostname module. 2015-01-20 21:50:15 +01:00
Johnny Robeson
50011f13d6 [hostname] rename FedoraStratgy to SystemdStrategy 2014-12-26 00:02:36 -05:00
Toshio Kuratomi
67aeab9576 Merge pull request #512 from mscherer/fix_438
Revert commit cbc417c, as the code is broken, see #438
2014-12-16 22:46:20 -08:00
Jonathan Mainguy
541070be4c Fixed hostname for rhel5 python 2.4.3 2014-12-16 09:49:13 -05:00
Michael Scherer
39cd64ec17 Revert commit cbc417c, as the code is broken, see #438
LooseVersion expect a string, so filtering to return a int
is incorrect. Thanks to Jeremy Brown for the analysis.
2014-12-14 21:59:44 +01:00
Brian Coca
ba139b145b fixed hostname for gentoo 2014-12-11 09:05:27 -05:00
Robert Estelle
4dd099fe7a Remove incorrect executable permissions. 2014-11-13 18:08:48 -05:00
Brian Coca
83669d7eda switched to iterator as per comments 2014-11-11 09:39:03 -05:00
Brian Coca
e4b6968901 made hostname work with python 2.4 2014-11-08 12:08:47 -05:00
Michael DeHaan
c8e1a2077e file extensions! 2014-09-26 10:37:56 -04:00
Renamed from system/hostname (Browse further)