# Adding in a `project_shared_children` is not working, at least i may be doing it wrong

**URL:** https://discourse.roots.io/t/adding-in-a-project-shared-children-is-not-working-at-least-i-may-be-doing-it-wrong/10632
**Category:** trellis
**Created:** 2017-10-10T19:12:53Z
**Posts:** 3

## Post 1 by @mgargano — 2017-10-10T19:12:53Z

in **trellis/roles/deploy/defaults/main.yml** I added a new entry to **project\_shared\_children** within

project\_shared\_children:

- path: web/app/uploads  
src: uploads
- path: web/app/wp-rocket-config  
src: wp-rocket-config

with the expectation that web/app/wp-rocket-config would be created upon (re)running:

**ansible-playbook server.yml -e env=production**

However that is not the case – am I doing something wrong?!

---

## Post 2 by @fullyint — 2017-10-10T19:27:02Z

Given that `project_shared_children` is a [deploy](https://roots.io/trellis/docs/remote-server-setup/#deploy) feature, try the `deploy.yml` playbook:

```
ansible-playbook deploy.yml -e env=production -e site=example.com
```

Also, your definition of `project_shared_children` looks fine, but I suggest putting it in a `group_vars` file like `group_vars/all/main.yml`…

> [@Adding a PHP extension without editing the php role directly?](https://discourse.roots.io/t/adding-a-php-extension-without-editing-the-php-role-directly/9662/2):
>
> Regarding the defaults in any `trellis/roles/<rolename>/defaults/main.yml` files, they have the lowest [priority](http://docs.ansible.com/ansible/playbooks_variables.html#variable-precedence-where-should-i-put-a-variable) and they live to be overridden by your redefinition in `group_vars` files.

---

## Post 3 by @mgargano — 2017-10-10T19:29:35Z

perfect thanks!! 20 characters
