You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
4 years ago
..
MacOSX.yml hostname - add macOS (#54439) 4 years ago
RedHat.yml hostname: hostnamectl check -> SystemdStrategy (#70532) 4 years ago
check_mode.yml hostname: hostnamectl check -> SystemdStrategy (#70532) 4 years ago
default.yml hostname: hostnamectl check -> SystemdStrategy (#70532) 4 years ago
main.yml hostname - add macOS (#54439) 4 years ago
test_check_mode.yml hostname - add macOS (#54439) 4 years ago
test_normal.yml hostname - add macOS (#54439) 4 years ago