Skip to content

Bug: Module remote_tmp /root/.ansible/tmp did not exist [...] #1308

@strarsis

Description

@strarsis

Description

What's wrong?

During initial Trellis playbook run the following warning is emitted:

Module remote_tmp /root/.ansible/tmp did not exist [...]

What have you tried?

Searched for that warning.

What insights have you gained?

The warning can be prevented by setting a field.

Possible solutions

Set the remote-tmp field (see https://docs.ansible.com/ansible/2.4/intro_configuration.html#remote-tmp)

Temporary workarounds

The warning can be ignored, though the warning also states that this may cause issues with permissions at a later time.

Steps To Reproduce

  1. Apply the Trellis playbook on a clean Ubuntu 20.04 LTS system
    Notice the warning during the playbook run.

Expected Behavior

Ideally, no warnings should be mitted.

Actual Behavior

Warning is emitted, that can be avoided by setting an option.

Relevant Log Output

No response

Trellis Version

Fix #1277 - Disable PHP CLI memory limit (#1278)

Ansible Version

ansible 2.9.10
  config file = None
  configured module search path = ['/home/build/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/local/lib/python3.8/dist-packages/ansible
  executable location = /usr/local/bin/ansible
  python version = 3.8.10 (default, Jun  2 2021, 10:49:15) [GCC 9.4.0]

Trellis CLI Version

(Not applicable; not used)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions