Files
community.general/library/system
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
..
2014-03-11 16:23:18 -05:00
2014-02-28 18:46:54 +01:00
2014-03-12 17:31:00 -04:00
2014-03-12 17:31:00 -04:00
2013-12-02 15:13:49 -05:00
2013-12-02 15:13:49 -05:00
2014-03-11 16:13:55 -04:00
2014-03-12 17:31:00 -04:00
2013-12-02 15:13:49 -05:00
2013-12-02 15:13:49 -05:00