Closed rndmh3ro closed 9 years ago
Hi @rndmh3ro
Please insert line name
on your playbook.
Example
- name: Install_Redmine
hosts: server
user: root
roles:
- packages
- user
I released v0.2.1 I will warn(rake task aborted & puts message) if no "name" line in playbook.
- hosts: server
user: root
roles:
- packages
- user
$ rake -T
rake aborted!
Please insert name on playbook
/Users/Adr/.rvm/gems/ruby-2.0.0-p353/gems/ansible_spec-0.2.1/lib/ansible_spec/load_ansible.rb:168:in `load_playbook'
/Users/Adr/.rvm/gems/ruby-2.0.0-p353/gems/ansible_spec-0.2.1/lib/ansible_spec/load_ansible.rb:191:in `get_properties'
/Users/Adr/Development/vagrant_list/ansible-Redmine/Rakefile:6:in `<top (required)>'
/Users/Adr/.rvm/gems/ruby-2.0.0-p353/bin/ruby_executable_hooks:15:in `eval'
/Users/Adr/.rvm/gems/ruby-2.0.0-p353/bin/ruby_executable_hooks:15:in `<main>'
(See full trace by running task with --trace)
Thanks, that fixed it for me!
The following error occurs when running rake -T. The Rakefile is unchanged.
Here are the installed gems:
OS is: RHEL 6.6 Linunx 2.6.32-431.20.3.el6.x86_64 #1 SMP Fri Jun 6 18:30:54 EDT 2014 x86_64 x86_64 x86_64 GNU/Linux