# Community.general cant be installed

**URL:** <https://forum.ansible.com/t/community-general-cant-be-installed/45176>\
**Category:** Get Help\
**Tags:** galaxy-ng\
**Created:** [January 25, 2026, 7:12pm UTC](https://forum.ansible.com/t/community-general-cant-be-installed/45176 "2026-01-25T19:12:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![clerambeau370](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/clerambeau370/32/10260_2.png) [@clerambeau370](https://forum.ansible.com/u/clerambeau370)\
**Post date:** [January 25, 2026, 7:12pm UTC](https://forum.ansible.com/t/community-general-cant-be-installed/45176/1 "2026-01-25T19:12:56Z")

</div>

I am at a loss here. I need to use this task:

```auto
            - name: Archive the scratchpad directory into a zip file, move to /dcr_archived | itsm_dcr
              community.general.archive:
                path: "{{ runtime }}{{ scratchpad }}" 
                dest: "{{ scratchpad_archived }}/DCR_archived_{{ currenttime }}.zip"  
                format: zip
                force_archive: true
              ignore_errors: true
              register: archive_dcr_out
              failed_when: not archive_dcr_out.failed
              remote_src: yes 

```

That errors out:

```auto
[ansible_admin@ctrl ansible]$ ansible-playbook ./playbooks/dcr2.yml 
ERROR! conflicting action statements: community.general.archive, remote_src

The error appears to be in '/etc/ansible/playbooks/dcr2.yml': line 140, column 15, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

            - name: Archive the scratchpad directory into a zip file, move to /dcr_archived | itsm_dcr
              ^ here
[ansible_admin@ctrl ansible]$ 

```

While installing it I get this error:

```auto

[ansible_admin@ctrl ansible]$ ansible-galaxy collection install community.general
Starting galaxy collection install process
[WARNING]: Collection community.general does not support Ansible version 2.16.3
Nothing to do. All requested collections are already installed. If you want to reinstall them, consider using `--force`.

```

Please help.  
Thanks.  
Nestor.

---

<div class="post-metadata">

**Author:** ![felixfontein](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/felixfontein/32/7530_2.png) [@felixfontein](https://forum.ansible.com/u/felixfontein)\
**Post date:** [January 25, 2026, 8:08pm UTC](https://forum.ansible.com/t/community-general-cant-be-installed/45176/2 "2026-01-25T20:08:45Z")

</div>

There is no error with installing community.general, because it’s already installed.

Instead you have an error in your task:

```auto
ERROR! conflicting action statements: community.general.archive, remote_src

```

`remote_src` is not a valid at the task level, and thus ansible thinks that you are trying to indicate a module called `remote_src`. Since you’re already mentioning `community.general.archive` it doesn’t know which one you really mean.

Simply remove the `remote_src: yes` line.

---

<div class="post-metadata">

**Author:** ![clerambeau370](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/clerambeau370/32/10260_2.png) [@clerambeau370](https://forum.ansible.com/u/clerambeau370)\
**Post date:** [January 25, 2026, 8:25pm UTC](https://forum.ansible.com/t/community-general-cant-be-installed/45176/3 "2026-01-25T20:25:27Z")

</div>

Right again. Thanks.  
Nestor.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/ansible/original/1X/1882d9a01da5d8996a862359b0913cc568a39b84.svg) [@system](https://forum.ansible.com/u/system)\
**Post date:** [February 24, 2026, 8:26pm UTC](https://forum.ansible.com/t/community-general-cant-be-installed/45176/4 "2026-02-24T20:26:07Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
