Pull to refresh

Comments 7

красавцы! хороший пример остальным хостинг провайдерам!
Подскажите вы доступ к openstack api предоставляете?
У вас инет роскомнадзором обрезается или можно у вас сервачек с ВПНом завести?
Да, конечно, в БЗ даже есть статья про работу с консольными клиентами https://kb.selectel.ru/22060427.html
Скачал ваш пример, запустил:
$ ansible-playbook example.yaml
[WARNING]: Unable to parse /etc/ansible/hosts as an inventory source

[WARNING]: No inventory was parsed, only implicit localhost is available

[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match
'all'

ERROR! no action detected in task. This often indicates a misspelled module name, or incorrect module path.

The error appears to have been in '/Users/___/workspace/selvpc/example.yaml': line 7, column 8, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

tasks:
- name: Create project
^ here

$ ansible-playbook --version
ansible-playbook 2.7.10
config file = None
configured module search path = ['/Users/___/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /usr/local/lib/python3.7/site-packages/ansible
executable location = /usr/local/bin/ansible-playbook
python version = 3.7.3 (default, Mar 27 2019, 09:23:15) [Clang 10.0.1 (clang-1001.0.46.3)]
Sign up to leave a comment.