@ -1,11 +1,9 @@
# Verify the behaviour of _low_level_execute_command().
- hosts: all
- name: integration/action__low_level_execute_command.yml
hosts: all
any_errors_fatal: true
tasks:
assert:
that: true
# "echo -en" to test we actually hit bash shell too.
- name: Run raw module without sudo
- name: integration/action/make_tmp_path.yml
gather_facts: true
- action_passthrough:
method: _make_tmp_path
@ -1,10 +1,8 @@
- name: integration/action/remote_file_exists.yml
- file:
path: /tmp/does-not-exist
@ -1,9 +1,10 @@
- name: integration/action/transfer_data.yml
file:
path: /tmp/transfer-data
state: absent
@ -1,9 +1,7 @@
- name: integration/become/sudo_flags_failure.yml
- name: Verify behaviour for bad sudo flags.
shell: whoami
- name: integration/become/sudo_nonexistent.yml
- name: Verify behaviour for non-existent accounts.
# Verify passwordless sudo behaviour in various cases.
- name: integration/become/sudo_basic.yml
- name: Verify we aren't root
# Verify passwordful sudo behaviour
- name: integration/become/sudo_password.yml
- name: Ensure sudo password absent but required.
# Verify requiretty support
- name: integration/become/sudo_requiretty.yml
- name: Verify we can login to a non-passworded requiretty account
@ -1,10 +1,10 @@
# Ensure 'local' connections are grabbed.
- name: integration/connection_loader__local_blemished.yml
determine_strategy:
- determine_strategy:
- custom_python_detect_environment:
connection: local
# Ensure paramiko connections aren't grabbed.
- name: integration/connection_loader__paramiko_unblemished.yml
custom_python_detect_environment:
connection: paramiko
register: out
# Ensure 'ssh' connections are grabbed.
- name: integration/connection_loader__ssh_blemished.yml
connection: ssh
@ -1,15 +1,13 @@
# Verify a maximum number of contexts are possible on one machine.
- name: integration/context_service/lru_one_target.yml
vars:
max_interps: "{{lookup('env', 'MITOGEN_MAX_INTERPRETERS')}}"
ubound: "{{max_interps|int + 1}}"
- name: Reset all connections
mitogen_shutdown_all:
@ -2,12 +2,10 @@
# Test sudo_flags respects -E.
#
- name: integration/playbook_semantics/become_flags.yml
- name: "without -E"
become: true
@ -1,4 +1,5 @@
- name: integration/playbook_semantics/delegate_to.yml
@ -1,6 +1,7 @@
# Ensure environment: is preserved during call.
- name: integration/playbook_semantics/environment.yml
- shell: echo $SOME_ENV
@ -1,12 +1,10 @@
# Verify with_items that modifies the execution environment still executes in
# the correct context.
- name: integration/playbook_semantics/with_items.yml
- name: Spin up a few interpreters
@ -1,7 +1,7 @@
# Verify 'async: <timeout>' functions as desired.
- name: integration/runner/async_job_timeout.yml
@ -1,7 +1,8 @@
# Verify behaviour of a single asynchronous task, and presence of all output
# fields.
- name: integration/runner/async_one_job.yml
@ -1,4 +1,6 @@
- name: integration/runner/async_two_simultaneous_jobs.yml
- name: integration/runner__builtin_command_module.yml
command: hostname
- command: hostname
with_sequence: start=1 end={{end|default(1)}}
@ -1,8 +1,9 @@
- name: integration/runner__custom_bash_old_style_module.yml
custom_bash_old_style_module:
- custom_bash_old_style_module:
foo: true
@ -1,8 +1,8 @@
- name: integration/runner__custom_bash_want_json_module.yml
custom_bash_want_json_module:
- custom_bash_want_json_module:
- name: integration/runner__custom_binary_producing_json.yml
custom_binary_producing_json:
- custom_binary_producing_json:
- name: integration/runner__custom_binary_producing_junk.yml
custom_binary_producing_junk:
- custom_binary_producing_junk:
ignore_errors: true
- name: integration/runner__custom_binary_single_null.yml
custom_binary_single_null:
- custom_binary_single_null:
- name: integration/runner__custom_perl_json_args_module.yml
custom_perl_json_args_module:
- custom_perl_json_args_module:
- name: integration/runner__custom_perl_want_json_module.yml
custom_perl_want_json_module:
- custom_perl_want_json_module:
- name: integration/runner__custom_python_json_args_module.yml
custom_python_json_args_module:
- custom_python_json_args_module:
- name: integration/runner__custom_python_new_style_module.yml
custom_python_new_style_module:
- custom_python_new_style_module:
- name: integration/runner__custom_python_want_json_module.yml
custom_python_want_json_module:
- custom_python_want_json_module:
@ -1,12 +1,11 @@
- name: integration/runner/forking_behaviour.yml
# Verify non-async jobs run in-process.
- debug: msg={{is_mitogen}}
- name: get process ID.
register: sync_proc1
@ -3,12 +3,12 @@
# when generating temporary paths created by the runner.py code executing
# remotely.
- name: integration/runner__remote_tmp.yml
bash_return_paths:
- bash_return_paths:
register: output
- assert: