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.
mitogen/tests/ansible/integration/runner/etc_environment.yml

16 lines
556 B
YAML

# issue #338: ensure /etc/environment is reloaded if it changes.
# Actually this test uses ~/.pam_environment, which is using the same logic,
# but less likely to brick a development workstation
- name: integration/runner/etc_environment.yml
hosts: test-targets[0]
any_errors_fatal: true
gather_facts: true
tasks:
- include_tasks: _etc_environment_user.yml
when: ansible_system == "Linux" and is_mitogen
- include_tasks: _etc_environment_global.yml
# Don't destroy laptops.
when: ansible_virtualization_type == "docker"