1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/library
Cristian Ciupitu 138b45e32f hostname module: don't filter hostnamectl with awk
There's no need to filter hostnamectl's output with awk because its man
page says:

    hostnamectl [OPTIONS...] {COMMAND}

       --static, --transient, --pretty
	   If status is used (or no explicit command is given) and one
	   of those fields is given, hostnamectl will print out just
           this selected hostname.

E.g. hostnamectl --static status => ansible.example.org
2014-03-16 13:10:28 -04:00
..
cloud Micro-optimization: replace s.find(x)!=-1 with x in s 2014-03-16 13:10:28 -04:00
commands Micro-optimization: replace s.find(x)!=-1 with x in s 2014-03-16 13:10:28 -04:00
database Micro-optimization: replace s.find(x)!=-1 with x in s 2014-03-16 13:10:28 -04:00
files Micro-optimization: replace s.find(x)!=-1 with x in s 2014-03-16 13:10:28 -04:00
internal ansible -> ansibleworks 2014-01-28 20:29:41 -05:00
inventory Make add_host clear the inventory pattern cache, add some more aliases. Fixes #4442. 2013-10-11 16:37:10 -04:00
messaging Typo in rabbitmq_plugin docs 2014-02-28 11:38:11 -06:00
monitoring Fixup shell handling in monit module. 2014-03-12 17:43:31 -04:00
net_infrastructure Fix regression in dnsmadeeasy module caused by fetch_url change 2014-03-12 20:48:22 -05:00
network Remove validate_certs parameter from fetch_url calls 2014-03-12 10:31:01 -05:00
notification Adding validate_certs to all modules that use fetch_url 2014-03-12 10:19:54 -05:00
packaging Correct check_mode conditional logic 2014-03-14 10:24:52 -04:00
source_control Fix documentation for accept_hostkey 2014-03-13 07:58:12 -07:00
system hostname module: don't filter hostnamectl with awk 2014-03-16 13:10:28 -04:00
utilities Create the tempdir in the accelerate module if it doesn't exist 2014-03-05 22:08:09 -06:00
web_infrastructure Bulk update of choices=BOOLEANS to type='bool' 2014-03-11 23:04:19 -05:00