# Problem Set timezone for Ubuntu.

**URL:** <https://forum.ansible.com/t/problem-set-timezone-for-ubuntu/36760>\
**Category:** AWX Project\
**Tags:** ubuntu\
**Created:** [June 21, 2022, 12:44pm UTC](https://forum.ansible.com/t/problem-set-timezone-for-ubuntu/36760 "2022-06-21T12:44:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Christopher\_Neufer](https://avatars.discourse-cdn.com/v4/letter/c/9de053/32.png) [@Christopher\_Neufer](https://forum.ansible.com/u/Christopher_Neufer)\
**Post date:** [June 21, 2022, 12:44pm UTC](https://forum.ansible.com/t/problem-set-timezone-for-ubuntu/36760/1 "2022-06-21T12:44:35Z")

</div>

Hello together !  
Maybe someone can help me. I want to change the timezone for my Linux VMs.  
This is my Playbook.

- name: Linux Updates installieren

hosts: lx\_svr

become: yes

become\_user: root

gather\_facts: False

collections:

- community.general.timezone

tasks:

- name: Set timezone to Europe/Berlin

community.general.timezone:

name: Europe/Berlin

I get this error every time:

ERROR! couldn’t resolve module/action ‘community.general.timezone’. This often indicates a misspelling, missing collection, or incorrect module path.

The error appears to be in ‘/runner/project/linux\_playbooks/set\_timezone.yaml’: line 9, column 7, but may

be elsewhere in the file depending on the exact syntax problem.

Greez

Chris

---

<div class="post-metadata">

**Author:** ![AWX\_Project](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Post date:** [June 23, 2022, 5:12pm UTC](https://forum.ansible.com/t/problem-set-timezone-for-ubuntu/36760/2 "2022-06-23T17:12:39Z")

</div>

Hi!

community.general modules are not installed in the awx-ee image, so you will need to add a collections/requirements.yml file to the root of your project folder that has the specific module you need, or create your own execution environment using ansible builder.

see [https://docs.ansible.com/automation-controller/latest/html/userguide/projects.html#collections-support](https://docs.ansible.com/automation-controller/latest/html/userguide/projects.html#collections-support)

and [https://ansible-builder.readthedocs.io/en/stable/](https://ansible-builder.readthedocs.io/en/stable/)
