ansible/test/integration/targets/hostname/tasks
Sam Doran 7352457e7b
hostname - add macOS (#54439)
* Add DarwinStrategy class and integration tests

macOS has three seprate hostname params that need to be set. One of those params, LocalHostName, has more stringent requirements than the other two, which accept special characters and spaces. Create a method to scrub the hostname to ensure it works well with the system requirements.

* Update documentation

* Account for virtualization type returned on Azure Pipelines

* Do not be dependent on order of self.name_types

Use the scrubbed name when the name type is LocalHostName
2020-10-27 17:30:54 -04:00
..
check_mode.yml
default.yml
MacOSX.yml hostname - add macOS (#54439) 2020-10-27 17:30:54 -04:00
main.yml hostname - add macOS (#54439) 2020-10-27 17:30:54 -04:00
RedHat.yml
test_check_mode.yml hostname - add macOS (#54439) 2020-10-27 17:30:54 -04:00
test_normal.yml hostname - add macOS (#54439) 2020-10-27 17:30:54 -04:00