I make an pull request
https://github.com/ansible/ansible/pull/7148
在 2014年4月24日星期四UTC+8下午2时24分48秒,qiu jiawei写道:
Oh I find more infomation that the worng machine's user could sudo without
passwd.
在 2014年4月24日星期四UTC+8下午12时28分27秒,qiu jiawei写道:
I run an simple ansible module unarchive
I run an simple ansible module unarchive in ansible-playbook.
the module look like below:
- name: untar the psutil module
sudo: yes
unarchive: src=psutil-2.1.0.tar.gz dest=/tmp/
then, the stange thing happen.
it crash at one machine.
failed: [hadoop4] = {failed: true, item: }
msg: dest
should notice when running multiple
ansible-playbook at the same time???
在 2014年4月4日星期五UTC+8上午6时12分38秒,Michael DeHaan写道:
Haven't seen this.
If you can set up a minimal example that can reproduce this one and file a
ticket we can help take a look.
On Thu, Apr 3, 2014 at 3:28 AM, qiu jiawei
Ansible version 1.5.3
Out playbook look like below:
debug.ym:
- hosts:
- cnode463
tasks:
- include: roles/conf/tasks/hadoop.yml
hadoop.yml
- name: copy hadoop conf
sudo: yes
template: src={{ TEMPLATE_DIR }}/hadoop/{{item}}.j2
dest=/etc/hadoop/conf/{{item}}
with_items:
Now,the template module woule build the template file and send to the
remote host.
Is it possible for not send to the remote host?
I just want to see the file in local machine.
--
You received this message because you are subscribed to the Google Groups
Ansible Project group.
To unsubscribe