Введи- name: add php ppa
apt_repository: repo='ppa:ondrej/php' state=present
- name: update apt cache
apt: update_cache=yes
- name: install php requirements for joomla
apt: name=php{{ php.version }}-{{ item }} state=present
with_items:
- json
- xml
- mbstring
- intl
- apcache
- mysql
- pgsql те код...
Введите код.TASK [php : install php requirements for joomla] *******************************
failed: [joomla] (item=[u'php7.1-json', u'php7.1-xml', u'php7.1-mbstring', u'php7.1-intl', u'php7.1-apcache', u'php7.1-mysql', u'php7.1-pgsql']) => {"changed": false, "failed": true, "item": ["php7.1-json", "php7.1-xml", "php7.1-mbstring", "php7.1-intl", "php7.1-apcache", "php7.1-mysql", "php7.1-pgsql"], "msg": "No package matching 'php7.1-apcache' is available"}
to retry, use: --limit @/home/artur/php-joomla-vm/provisioning/playbook.retry
..
--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscribe@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/14e225d4-6ab8-4b4a-8666-cf6cfeac5d45%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
TASK [php : install php requirements for joomla] *******************************
failed: [joomla] (item=[u'php7.1-json', u'php7.1-xml', u'php7.1-mbstring', u'php7.1-intl', u'php7.1-apache', u'php7.1-mysql', u'php7.1-pgsql']) => {"changed": false, "failed": true, "item": ["php7.1-json", "php7.1-xml", "php7.1-mbstring", "php7.1-intl", "php7.1-apache", "php7.1-mysql", "php7.1-pgsql"], "msg": "No package matching 'php7.1-apache' is available"}
--
--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscribe@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/3df38b0b-4c79-40c9-866c-7c5ad7aca1c8%40googlegroups.com.
~/Загрузки$ php -v
PHP 7.1.11-1+ubuntu16.04.1+deb.sury.org+1 (cli) (built: Oct 27 2017 13:49:56) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies
with Zend OPcache v7.1.11-1+ubuntu16.04.1+deb.sury.org+1, Copyright (c) 1999-2017, by Zend Technologies