Skip to content

Instantly share code, notes, and snippets.

@matthewoliver
Created September 18, 2014 08:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matthewoliver/71fdabac115f76c4f4a7 to your computer and use it in GitHub Desktop.
Save matthewoliver/71fdabac115f76c4f4a7 to your computer and use it in GitHub Desktop.
Module Variables ("vars"):
--------------------------------
{
"_original_file": "/etc/ansible/roles/test/tasks/main.yml",
"always_run": false,
"changed_when": null,
"delegate_to": null,
"failed_when": null,
"ignore_errors": false,
"inventory_dir": "/etc/ansible",
"item": "",
"playbook_dir": ".",
"register": null
}
Environment Variables ("environment"):
--------------------------------
{}
GROUP NAMES Variables ("group_names"):
--------------------------------
[
"test"
]
GROUPS Variables ("groups"):
--------------------------------
{
"account": [
"10.0.0.2"
],
"all": [
"162.209.105.172",
"localhost",
"10.0.0.1",
"10.0.0.2",
"10.0.0.3",
"10.0.0.4",
"10.0.0.5",
"10.0.0.6",
"10.0.0.7"
],
"container": [
"10.0.0.3"
],
"local": [
"localhost"
],
"object": [
"10.0.0.4",
"10.0.0.5",
"10.0.0.6",
"10.0.0.7"
],
"proxy": [
"10.0.0.1"
],
"storagepolicy": [
"10.0.0.4",
"10.0.0.5",
"10.0.0.6",
"10.0.0.7"
],
"storagepolicy_gold": [
"10.0.0.4",
"10.0.0.5",
"10.0.0.6",
"10.0.0.7"
],
"storagepolicy_silver": [
"10.0.0.4",
"10.0.0.5"
],
"swift": [
"10.0.0.1",
"10.0.0.2",
"10.0.0.3",
"10.0.0.4",
"10.0.0.5",
"10.0.0.6",
"10.0.0.7"
],
"test": [
"162.209.105.172"
],
"ungrouped": []
}
HOST Variables ("hostvars"):
"storagepolicy_silver"
{
"ansible_ssh_user": "root",
"default": "gold",
"depricated": "True",
"drive": "/srv/disk",
"group_names": [
"object",
"storagepolicy",
"storagepolicy_gold",
"storagepolicy_silver",
"swift"
],
"hash_path_prefix": "changeme",
"hash_path_suffix": "changeme",
"index": "0",
"inventory_hostname": "10.0.0.5",
"inventory_hostname_short": "10",
"ntpserver": "0.pool.ntp.org",
"part_power": "8",
"policy_name": "gold",
"region": 0,
"repl_num": "3",
"syslog_host": "10.1.1.1:514",
"type": "replication",
"user": "swift",
"weight": 100,
"zone": 1
}
"storagepolicy_gold"
{
"ansible_ssh_user": "root",
"default": "gold",
"drive": "/srv/disk",
"group_names": [
"object",
"storagepolicy",
"storagepolicy_gold",
"swift"
],
"hash_path_prefix": "changeme",
"hash_path_suffix": "changeme",
"index": "0",
"inventory_hostname": "10.0.0.7",
"inventory_hostname_short": "10",
"ntpserver": "0.pool.ntp.org",
"part_power": "8",
"policy_name": "gold",
"region": 1,
"repl_num": "3",
"syslog_host": "10.1.1.1:514",
"type": "replication",
"user": "swift",
"weight": 50,
"zone": 1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment