diff --git a/Asm/Ansible/Command/AnsiblePlaybook.php b/Asm/Ansible/Command/AnsiblePlaybook.php index a9c0e46..0ad9b51 100644 --- a/Asm/Ansible/Command/AnsiblePlaybook.php +++ b/Asm/Ansible/Command/AnsiblePlaybook.php @@ -292,7 +292,7 @@ public function inventory(array $hosts = []): AnsiblePlaybookInterface if (count($hosts) === 1) $hostList .= ','; - $this->addOption('--inventory', sprintf('"%s"', $hostList)); + $this->addOption('--inventory', $hostList); $this->hasInventory = true; return $this;