Thank you for your help. I was not aware that tabs are not allowed (I finally
RTFM, that is the YAML reference).
Changing this immediately helped.
--
You received this message because you are subscribed to the Google Groups
Ansible Project group.
To unsubscribe from this group and stop
Hello
I just started to use ansible so please bear with me. I managed to run a
few basic playbooks but I am stuck with the following one (basic as well):
---
- hosts: all
tasks:
- name: copy bashrc to .bashrc
action: copy src=files/bashrc dest=~root/.bashrc backup=yes
- name: copy
On 04/11/2014 03:20 AM, WS wrote:
Hello
I just started to use ansible so please bear with me. I managed to run
a few basic playbooks but I am stuck with the following one (basic as
well):
|
---
-hosts:all
tasks:
-name:copy bashrc to .bashrc
action:copy src=files/bashrc
While this may not be the cause of your issues, the following is (or will
be) an issue for you.
- name: ensure joe is installed yum
apt: name=joe state=latest
when: ansible_os_family == CentOS or ansible_os_family == Fedora
change to:
- name: ensure joe is installed yum
yum: