# Trellis - Malformed output discovered from systemd list-unit-files: accounts- daemon.service

**URL:** https://discourse.roots.io/t/trellis-malformed-output-discovered-from-systemd-list-unit-files-accounts-daemon-service/19628
**Category:** trellis
**Tags:** trellis
**Created:** 2020-11-26T13:54:23Z
**Posts:** 7

## Post 1 by @tom_barber — 2020-11-26T13:54:23Z

Hey all,

Getting the following error when starting a fresh Trellis box in development:

```
TASK [ntp : Populate service facts.] *******************************************
System info:
Ansible 2.8.0; Vagrant 2.2.14; Linux
Trellis version (per changelog): "Validate that `letsencrypt_contact_emails` is a list
---------------------------------------------------
Malformed output discovered from systemd list-unit-files: accounts-
daemon.service enabled enabled
fatal: [default]: FAILED! => {"changed": false}
```

Tried entering an email like as follows in `trellis/group_vars/all/main.yml` like I normally do. Also tried with a 2nd fresh install without adding these lines.

```
letsencrypt_contact_emails:
  - myemail@example.com
```

Got it working as normal by reverting `galaxy.yml` to what is was a few days ago before this commit - [https://github.com/roots/trellis/commit/c86d8a042da811e89aa7fdda08159dc86f65be77](https://github.com/roots/trellis/commit/c86d8a042da811e89aa7fdda08159dc86f65be77)

Is there something I am doing wrong or do the dependencies need looking at?

Cheers!

---

## Post 2 by @swalkinshaw — 2020-11-26T19:27:55Z

You could try reverting that version bump for the ntp galaxy role. However, it’s a known bug on that role: [https://github.com/geerlingguy/ansible-role-ntp/issues/86](https://github.com/geerlingguy/ansible-role-ntp/issues/86)

Using Ansible. 2.9.8 and higher will fix it.

I’ll have to see what the proper fix on the Trellis side of things is. It’s either using the older role version or bumping our Ansible requirements.

---

## Post 3 by @tom_barber — 2020-11-30T00:39:01Z

Thanks @swalkinshaw , that solved it. Much appreciated :grinning:

---

## Post 4 by @James_Cobbett — 2020-12-04T16:32:48Z

I’m getting the same error but on Ansible 2.10. Do I need to be on Ansible 2.9?

```
TASK [wordpress-install : Install Dependencies with Composer] ******************
System info:
  Ansible 2.10.3; Vagrant 2.2.3; Darwin
  Trellis version (per changelog): "Validate that `letsencrypt_contact_emails` is a list"
```

---

## Post 5 by @Bhanu_Kumar_Singh — 2020-12-05T05:15:58Z

I think you need to reverse this version bump.

> <https://github.com/roots/trellis/commit/9ed0571c2d4dba43e291dd97f8927f9e85321c91>

---

## Post 6 by @odm275 — 2020-12-09T02:19:00Z

Hello, I’m getting the same error(disclaimer: I’m brand new to trellis and Ansible). Where can I set the Ansible version? So that I may use 2.9.8 or higher. I tried editing `vagrant_ansible_version`in my vagrant.default.yml file but whenever I run `vagrant up` I keep getting the same error and Ansible is still loading as the 2.9.6 version. I’ve also tried running `vagrant destroy,` and `vagrant reload` in-between version changes but I get the same error.

Thanks!!

---

## Post 7 by @tom_barber — 2020-12-09T06:14:23Z

Check out the docs for installing different Ansible versions with pip - [https://roots.io/docs/getting-started/macos/#ansible](https://roots.io/docs/getting-started/macos/#ansible)

I wrote my solution on the first message (rolling back galaxy.yml)… Did you try that?

---

## Post 8 by @system — 2021-01-07T13:54:28Z

This topic was automatically closed after 42 days. New replies are no longer allowed.
