summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChad Smith <chad.smith@canonical.com>2022-11-11 14:45:24 -0700
committerGitHub <noreply@github.com>2022-11-11 15:45:24 -0600
commit661b852c004f8c151ac9da22dc4ef6d8ef96bc4b (patch)
treed59524bc0362c00f8ea4adabdfebaea81652874b
parent4879ed28ad11571a1e5181bef44b4ab01745fc14 (diff)
downloadcloud-init-git-661b852c004f8c151ac9da22dc4ef6d8ef96bc4b.tar.gz
tests: replace missed ansible install-method with underscore (#1825)
-rw-r--r--tests/integration_tests/modules/test_ansible.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/tests/integration_tests/modules/test_ansible.py b/tests/integration_tests/modules/test_ansible.py
index 38c0b993..d781dabf 100644
--- a/tests/integration_tests/modules/test_ansible.py
+++ b/tests/integration_tests/modules/test_ansible.py
@@ -152,9 +152,9 @@ lxd:
# [2] https://github.com/holmanb/ansible-lxd-public
#
ansible:
- install-method: pip
- package-name: ansible
- run-user: ansible
+ install_method: pip
+ package_name: ansible
+ run_user: ansible
galaxy:
actions:
- ["ansible-galaxy", "collection", "install", "community.general"]
@@ -164,17 +164,17 @@ ansible:
- path: /home/ansible/my-repo/
source: git@github.com:holmanb/ansible-lxd-private.git
run_ansible:
- - playbook-dir: /home/ansible/my-repo
- playbook-name: start-lxd.yml
+ - playbook_dir: /home/ansible/my-repo
+ playbook_name: start-lxd.yml
timeout: 120
forks: 1
- private-key: /home/ansible/.ssh/id_rsa
- - playbook-dir: /home/ansible/my-repo
- playbook-name: configure-lxd.yml
- become-user: ansible
+ private_key: /home/ansible/.ssh/id_rsa
+ - playbook_dir: /home/ansible/my-repo
+ playbook_name: configure-lxd.yml
+ become_user: ansible
timeout: 120
forks: 1
- private-key: /home/ansible/.ssh/id_rsa
+ private_key: /home/ansible/.ssh/id_rsa
inventory: new_ansible_hosts
# Write a deploy key to the filesystem for ansible.