Skip to content

Instantly share code, notes, and snippets.

@ashigeru
ashigeru / plugin.xml
Created July 30, 2010 20:47
Eclipseのコンパイラに介入する手順
=== プロジェクト作成 ===
== プラグインプロジェクトの新規作成 ==
* Activator不要
* UI不要
* テンプレート不要
== ビルド設定 ==
MANIFEST.MF > build.propertiesタブ
* http://gist.github.com/501171
@marcusphi
marcusphi / ansible_conditionals_examples.yaml
Created October 2, 2013 09:48
Ansible 1.3 Conditional Execution -- Very complete example with comments -- I find the conditional expressions to be ridiculously hard to get right in Ansible. I don't have a good model of what's going on under the surface so I often get it wrong. What makes it even harder is that there has been at least three different variants over the course …
---
# This has been tested with ansible 1.3 with these commands:
# ansible-playbook -i hosts ansible_conditionals_examples.yaml --extra-vars="hosts=myhosts isFirstRun=false"
# ansible-playbook -i hosts ansible_conditionals_examples.yaml --extra-vars="hosts=myhosts isFirstRun=true"
# ansible-playbook -i hosts ansible_conditionals_examples.yaml --extra-vars="hosts=myhosts"
# NB: The type of the variable is crucial!
- name: Ansible Conditionals Examples
hosts: $hosts
vars_files: