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
_________________ | |
< GATHERING FACTS > | |
----------------- | |
\ ,+*^^*+___+++_ | |
\ ,*^^^^ ) | |
\ _+* ^**+_ | |
\ +^ _ _++*+_+++_, ) | |
_+^^*+_ ( ,+*^ ^ \+_ ) | |
{ ) ( ,( ,_+--+--, ^) ^\ | |
{ (@) } f ,( ,+-^ __*_*_ ^^\_ ^\ ) |
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
- hosts: | |
- karen.dragonfear | |
- paola.dragonfear | |
- mathilda.dragonfear | |
user: root | |
vars: | |
backupserver: mathilda.dragonfear | |
tasks: | |
- name: get zpool data | |
action: shell zpool list -H -o name |
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
- inventory_dir/ | |
- hosts | |
- group_vars/ | |
- all |
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
--- | |
scripts_sha1: "{{lookup('pipe','git log -1 --format=%h chdir=' + ine_script_work_tree)}}" | |
deployed_scripts_dirname: "{{'scripts-' + scripts_sha1 }}" |
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
- name: Install dependencies | |
apt: pkg={{item}} state=present | |
with_items: | |
- r-cran-rserve | |
- r-base | |
- r-base-dev | |
- r-base-core |
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
--- | |
- hosts: all # just here to gather facts on all hosts | |
- hosts: "{{target}}" | |
tasks: | |
- template: src.... | |
... | |
ansible-playbook test.yml -e "target=targethost" |
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
ansible-galaxy info briancoca.selenium briancoca.oracle_java7 | |
- briancoca.selenium: | |
install_date = Wed Nov 12 17:14:04 2014 | |
dependencies = ['briancoca.oracle_java7'] | |
galaxy_info: | |
platforms = [{'name': 'Ubuntu', 'versions': ['precise', 'saucy']}] | |
description = Installs and configures Selenium server in any of 3 modes (standalone,hub or node) | |
license = GPLv2 | |
author = Brian Coca | |
company = None |
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
ansible-galaxy info abtris.nginx-passenger briancoca.selenium | |
- abtris.nginx-passenger: | |
average_composite: | |
avg_code_quality: 4.0 | |
avg_documentation: 3.0 | |
avg_reliability: 4.5 | |
avg_wow_factor: 3.5 | |
average_score: 3.8 | |
bayesian_score: 0.0 | |
company: |
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
--- | |
- hosts: localhost | |
gather_facts: no | |
vars_files: | |
- vars/vaulted_vars.yml | |
tasks: | |
- debug: var=secret | |
... | |
``` |
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
play.yml: | |
- hosts: localhost | |
connection: local | |
gather_facts: false | |
vars: | |
things: | |
- "{{ foo }}" | |
- "{{ foob }}" | |
foo: "Hello" |
OlderNewer