This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# roles/common/tasks/main.yml | |
- name: Task1 | |
command: echo task1 | |
- name: Task2 | |
command: echo task2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Kesten Ansible managed: accumulo/templates/accumulo_hosts.j2 modified on 2013-10-14 14:58:02 by kbroughton on mb-kbroughton.local | |
# Hadoop Nodes | |
# ============ | |
[zookeepers] # minimal 3, must be odd number of servers | |
Ubuntu_Cluster_02 zoo_id=2 | |
Ubuntu_Cluster_03 zoo_id=3 | |
Ubuntu_Cluster_04 zoo_id=4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hostfile = /etc/ansible/hosts | |
ansible_managed = Ansible managed: {file} modified on %Y-%m-%d %H:%M:%S by {uid} on {host} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# note the space before the --- | |
var1: "val" | |
# PRODUCES ERROR MESSAGE | |
# ansible-playbook -i hosts playbooks/test2.yml --limit=localhost | |
# [' var1', ' "val"'] | |
# ERROR: Syntax Error while loading YAML script, /Users/kbroughton/vcp/git/21ct/proto/lynx-ansible/vars/main.yml | |
# Note: The error may actually appear before this position: line 3, column 6 |
NewerOlder