diff --git a/molecule/already_present/molecule.yml b/molecule/already_present/molecule.yml index 709d32d..d7b1d12 100644 --- a/molecule/already_present/molecule.yml +++ b/molecule/already_present/molecule.yml @@ -11,10 +11,12 @@ driver: ansible_connection_options: ansible_connection: local ansible_sudo_pass: "${ANSIBLE_SUDO_PASSWORD}" - become_method: sudo platforms: - name: instance provisioner: name: ansible + config_options: + privilege_escalation: + become_method: sudo verifier: name: ansible diff --git a/molecule/erlang/molecule.yml b/molecule/erlang/molecule.yml index 709d32d..d7b1d12 100644 --- a/molecule/erlang/molecule.yml +++ b/molecule/erlang/molecule.yml @@ -11,10 +11,12 @@ driver: ansible_connection_options: ansible_connection: local ansible_sudo_pass: "${ANSIBLE_SUDO_PASSWORD}" - become_method: sudo platforms: - name: instance provisioner: name: ansible + config_options: + privilege_escalation: + become_method: sudo verifier: name: ansible diff --git a/molecule/kubectl/molecule.yml b/molecule/kubectl/molecule.yml index 709d32d..d7b1d12 100644 --- a/molecule/kubectl/molecule.yml +++ b/molecule/kubectl/molecule.yml @@ -11,10 +11,12 @@ driver: ansible_connection_options: ansible_connection: local ansible_sudo_pass: "${ANSIBLE_SUDO_PASSWORD}" - become_method: sudo platforms: - name: instance provisioner: name: ansible + config_options: + privilege_escalation: + become_method: sudo verifier: name: ansible diff --git a/molecule/no_plugins/molecule.yml b/molecule/no_plugins/molecule.yml index 709d32d..d7b1d12 100644 --- a/molecule/no_plugins/molecule.yml +++ b/molecule/no_plugins/molecule.yml @@ -11,10 +11,12 @@ driver: ansible_connection_options: ansible_connection: local ansible_sudo_pass: "${ANSIBLE_SUDO_PASSWORD}" - become_method: sudo platforms: - name: instance provisioner: name: ansible + config_options: + privilege_escalation: + become_method: sudo verifier: name: ansible diff --git a/molecule/nodejs/molecule.yml b/molecule/nodejs/molecule.yml index 709d32d..d7b1d12 100644 --- a/molecule/nodejs/molecule.yml +++ b/molecule/nodejs/molecule.yml @@ -11,10 +11,12 @@ driver: ansible_connection_options: ansible_connection: local ansible_sudo_pass: "${ANSIBLE_SUDO_PASSWORD}" - become_method: sudo platforms: - name: instance provisioner: name: ansible + config_options: + privilege_escalation: + become_method: sudo verifier: name: ansible diff --git a/molecule/python/molecule.yml b/molecule/python/molecule.yml index 709d32d..d7b1d12 100644 --- a/molecule/python/molecule.yml +++ b/molecule/python/molecule.yml @@ -11,10 +11,12 @@ driver: ansible_connection_options: ansible_connection: local ansible_sudo_pass: "${ANSIBLE_SUDO_PASSWORD}" - become_method: sudo platforms: - name: instance provisioner: name: ansible + config_options: + privilege_escalation: + become_method: sudo verifier: name: ansible diff --git a/molecule/ruby/molecule.yml b/molecule/ruby/molecule.yml index 709d32d..d7b1d12 100644 --- a/molecule/ruby/molecule.yml +++ b/molecule/ruby/molecule.yml @@ -11,10 +11,12 @@ driver: ansible_connection_options: ansible_connection: local ansible_sudo_pass: "${ANSIBLE_SUDO_PASSWORD}" - become_method: sudo platforms: - name: instance provisioner: name: ansible + config_options: + privilege_escalation: + become_method: sudo verifier: name: ansible diff --git a/pyproject.toml b/pyproject.toml index f9cbca6..cb6d456 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,15 +12,14 @@ version = "0.2.2" [tool.poetry.dependencies] - python = ">=3.8.0,<4.0" + python = ">=3.9.0,<4.0" [tool.poetry.dev-dependencies] - ansible = "^5.2.0" - ansible-compat = "<2.1.0" - ansible-lint = "^5.3.2" - commitizen = "^2.20.4" - yamllint = "^1.26.3" + ansible = "^7.0.0" + commitizen = "^2.42.0" + molecule = "^4.0.0" + yamllint = "^1.29.0" - [tool.poetry.dev-dependencies.molecule] - extras = ["docker"] - version = "^3.5.2" + [tool.poetry.dev-dependencies.ansible-lint] + markers = "platform_system != 'Windows'" + version = "^6.12.2"