PLAY RECAP *********************************************************************
default : ok=103 changed=80 unreachable=0 failed=0
wohooo awesome! thanks a lot for the quick fix! works like a charm as you can see above! I’ve redone the whole Trellis set up process with 2.1.1. to write up slight flaws i ran into before which haven’t been show stoppers.
First I’ve removed the vendor
folder and redid ansible-galaxy install -r requirements.yml
. The download works without any problem. Only Ansible is throwing a deprecation warning and afterwards it is noted that daemonize is already installed. But overall all roles get downloaded and installed:
- downloading role 'composer', owned by geerlingguy
- downloading role from https://github.com/geerlingguy/ansible-role-composer/archive/1.2.7.tar.gz
- extracting composer to /Users/myuser/Sites/trellisexample/trellis/vendor/roles/composer
- composer was installed successfully
- downloading role 'ntp', owned by resmo
- downloading role from https://github.com/resmo/ansible-role-ntp/archive/0.3.0.tar.gz
- extracting ntp to /Users/myuser/Sites/trellisexample/trellis/vendor/roles/ntp
- ntp was installed successfully
- downloading role 'logrotate', owned by nickhammond
- downloading role from https://github.com/nickhammond/ansible-logrotate/archive/fc3ea4.tar.gz
- extracting logrotate to /Users/myuser/Sites/trellisexample/trellis/vendor/roles/logrotate
- logrotate was installed successfully
- downloading role 'swapfile', owned by kamaln7
- downloading role from https://github.com/kamaln7/ansible-swapfile/archive/0.4.tar.gz
- extracting swapfile to /Users/myuser/Sites/trellisexample/trellis/vendor/roles/swapfile
- swapfile was installed successfully
- downloading role 'daemonize', owned by geerlingguy
- downloading role from https://github.com/geerlingguy/ansible-role-daemonize/archive/1.1.0.tar.gz
- extracting geerlingguy.daemonize to /Users/myuser/Sites/trellisexample/trellis/vendor/roles/geerlingguy.daemonize
- geerlingguy.daemonize was installed successfully
- downloading role 'mailhog', owned by geerlingguy
- downloading role from https://github.com/geerlingguy/ansible-role-mailhog/archive/1.0.5.tar.gz
- extracting mailhog to /Users/myuser/Sites/trellisexample/trellis/vendor/roles/mailhog
- mailhog was installed successfully
[DEPRECATION WARNING]: The comma separated role spec format, use the yaml/explicit format instead..
This feature will be removed in a future release.
Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
- dependency geerlingguy.daemonize is already installed, skipping.
When running the Ansible Playbook on vagrant up
I get two more deprecation warnings:
TASK [logrotate : nickhammond.logrotate | Setup logrotate.d scripts] ***********
[DEPRECATION WARNING]: Using bare variables is deprecated. Update your
playbooks so that the environment value uses the full variable syntax
('{{logrotate_scripts}}').
This feature will be removed in a future release.
Deprecation warnings can be disabled by setting deprecation_warnings=False in
ansible.cfg.
changed: [default] => (item={u'path': u'/srv/www/**/logs/*.log', u'scripts': {u'postrotate': u'service nginx rotate', u'prerotate': u'if [ -d /etc/logrotate.d/httpd-prerotate ]; then \\\n run-parts /etc/logrotate.d/httpd-prerotate; \\\n fi \\\n'}, u'options': [u'weekly', u'maxsize 50M', u'missingok', u'rotate 8', u'compress', u'delaycompress', u'notifempty', u'create 0640 vagrant www-data', u'sharedscripts'], u'name': u'wordpress-sites'})
TASK [composer : Install configured globally-required packages.] ***************
[DEPRECATION WARNING]: Using bare variables is deprecated. Update your
playbooks so that the environment value uses the full variable syntax
('{{composer_global_packages}}').
This feature will be removed in a future
release. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
changed: [default] => (item={u'name': u'hirak/prestissimo'})
And one file is not found but that isn’t related to Ansible. It’s includes.d:
TASK [wordpress-setup : Template files out to includes.d] **********************
/bin/sh: line 0: cd: /Users/myuser/Sites/trellisexample/trellis/roles/wordpress-setup/templates/includes.d: No such file or directory
That is everything I found. Best regards r.