Use isinstance() rather than a check using type()
Update intro_adhoc.rst

Small grammar fix
Merge pull request #6320 from angstwad/instance-redo

Use isinstance() rather than a check using type()
Merge pull request #6326 from karelstriegel/patch-1

Update intro_adhoc.rst
spelling correction for "separate"

s/seperate/separate/

http://en.wiktionary.org/wiki/separate
Merge pull request #6343 from dolph/devel

spelling correction for "separate"
Micro-optimization of inventory.expand_hosts.detect_range
Micro-optimization: replace s.find(x)!=-1 with x in s

timeit shows a speedup of ~3x on Python 2.7.5 x86_64.
It also makes the code a bit shorter.
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