├── README.rst ├── docker.rst ├── ec2.rst └── facts.rst /README.rst: -------------------------------------------------------------------------------- 1 | =============== 2 | Quick reference 3 | =============== 4 | 5 | Quick reference to parameters and special variables. 6 | 7 | Facts 8 | ===== 9 | 10 | See facts_. 11 | 12 | .. _facts: facts.rst 13 | 14 | 15 | EC2 stuff 16 | ========= 17 | 18 | See ec2_. 19 | 20 | .. _ec2: ec2.rst 21 | 22 | Docker stuff 23 | ============ 24 | 25 | See docker_. 26 | 27 | .. _docker: docker.rst 28 | 29 | Built-in variables 30 | ================== 31 | 32 | These are variables that are always defined by ansible. 33 | 34 | ============================ ========================================================================================================================================================================================================= 35 | Parameter Description 36 | ============================ ========================================================================================================================================================================================================= 37 | hostvars A dict whose keys are Ansible host names and values are dicts that map variable names to values 38 | group_names A list of all groups that the current host is a member of 39 | groups A dict whose keys are Ansible group names and values are list of hostnames that are members of the group. Includes ``all`` and ``ungrouped`` groups: ``{"all": [...], "web": [...], "ungrouped": [...]}`` 40 | inventory_hostname Name of the current host as known by ansible. 41 | play_hosts A list of inventory hostnames that are active in the current play (or current batch if running serial) 42 | ansible_version A dict with ansible version info: ``{"full": 1.8.1", "major": 1, "minor": 8, "revision": 1, "string": "1.8.1"}`` 43 | role_path The current role’s pathname (available only inside a role) 44 | ============================ ========================================================================================================================================================================================================= 45 | 46 | These can be useful if you want to use a variable associated with a different host. For 47 | example, if you are using the EC2 dynamic inventory and have a single host with 48 | the tag "Name=foo", and you want to access the instance id in a different play, 49 | you can do something like this:: 50 | 51 | - hosts: tag_Name_foo 52 | tasks: 53 | - action: ec2_facts 54 | 55 | ... 56 | 57 | - hosts: localhost 58 | vars: 59 | instance_id: {{ hostvars[groups['tag_Name_foo'][0]]['ansible_ec2_instance_id'] }} 60 | tasks: 61 | - name: print out the instance id for the foo instance 62 | debug: msg=instance-id is {{ instance_id }} 63 | 64 | Internal variables 65 | ================== 66 | 67 | These are used internally by Ansible. 68 | 69 | ============================ ========================================================================================================================================================================================================= 70 | Variable Description 71 | ============================ ========================================================================================================================================================================================================= 72 | playbook_dir Directory that contains the playbook being executed 73 | inventory_dir Directory that contains the inventory 74 | inventory_file Host file or script path (?) 75 | ============================ ========================================================================================================================================================================================================= 76 | 77 | 78 | 79 | 80 | Play parameters 81 | --------------- 82 | 83 | =================== ======================================================================= 84 | Parameter Description 85 | =================== ======================================================================= 86 | any_errors_fatal 87 | gather_facts Specify whether to gather facts or not 88 | handlers List of handlers 89 | hosts Hosts in the play (e.g., ``webservers``). 90 | include Include a playbook defined in another file 91 | max_fail_percentage When ``serial`` is set on a play, and some hosts fail on a 92 | task, if the percentage of hosts that fail exceeds this 93 | number, Ansible will fail the whole play. (e.g., ``20``). 94 | name Name of the play, displayed when play runs (e.g., ``Deploy a foo``). 95 | pre_tasks List of tasks to execute before roles. 96 | port Remote ssh port to connect to 97 | post_tasks List of tasks to execute after roles. 98 | remote_user Alias for ``user``. 99 | role_names 100 | roles List of roles. 101 | serial Integer that indicates how many hosts Ansible should manage at a single 102 | su 103 | su_user 104 | become Boolean that indicates whether ansible should become another user (e.g., ``True``). 105 | become_user If become'ing, user to become as. Defaults: ``root``. 106 | sudo (deprecated, use become) Boolean that indicates whether ansible should use sudo (e.g., ``True``). 107 | sudo_user (deprecated, use become_uesr) If sudo'ing, user to sudo as. Defaults: ``root``. 108 | tasks List of tasks. 109 | user User to ssh as. Default: ``root`` (unless overridden in config file) 110 | no_log 111 | vars Dictionary of variables. **this is the holy grail of variables, it will output everything!** 112 | vars_files List of files that contain dictionary of variables. 113 | vars_prompt Description of vars that user will be prompted to specify. 114 | vault_password 115 | =================== ======================================================================= 116 | 117 | Task parameters 118 | =============== 119 | 120 | ================== ========================================================================================= 121 | Parameter Description 122 | ================== ========================================================================================= 123 | name Name of the task, displayed when task runs (e.g., ``Ensure foo is present``). 124 | action Name of module to specify. Legacy format, prefer specifying module name directly instead 125 | args A dictionary of arguments. See docs for ``ec2_tag`` for an example. 126 | include Name of a separate YAML file that includes additional tasks. 127 | register Record the result to the specified variable (e.g., ``result``) 128 | delegate_to Run task on specified host instead. 129 | local_action Equivalent to: ``delegate_to: 127.0.0.1``. 130 | remote_user Alias for ``user``. 131 | user User to ssh as for this task 132 | become Boolean that indicates whether ansible should become another user (e.g., ``True``). 133 | become_user If become'ing, user to become as. Defaults: ``root``. 134 | sudo Boolean that indicates whether ansible should use sudo on this task 135 | sudo_user If sudo'ing, user to sudo as. 136 | when Boolean. Only run task when this evaluates to True. Default: ``True`` 137 | ignore_errors Boolean. If True, ansible will treat task as if it has succeeded even if it returned an 138 | error, Default: ``False`` 139 | module More verbose notation for specifying module parameters. See docs for ``ec2`` for an example. 140 | environment Mapping that contains environment variables to pass 141 | failed_when Specify criteria for identifying task has failed (e.g., ``"'FAILED' in command_result.stderr"``) 142 | changed_when Specify criteria for identifying task has changed server state 143 | with_items List of items to iterate over 144 | with_nested List of list of items to iterate over in nested fashion 145 | with_fileglob List of local files to iterate over, described using shell fileglob notation 146 | (e.g., ``/playbooks/files/fooapp/*``) 147 | with_first_found Return the first file or path, in the given list, that exists on the control machine 148 | with_together Dictionary of lists to iterate over in parallel 149 | with_random_choice List of items to be selected from at random 150 | with_dict Loop through the elements of a hash 151 | with_sequence Loop over a range of integers 152 | until Boolean, task will retry until evaluates true or until ``retries`` 153 | retries Used with "until", number of times to retry. Default: ``3`` 154 | delay Used with "until", seconds to wait between retries. Default: ``10`` 155 | run_once If true, runs task on only one of the hosts 156 | always_run If true, runs task even when in --check mode 157 | ================== ========================================================================================= 158 | 159 | Complex args 160 | ============ 161 | There are three ways to specify complex arguments: 162 | 163 | just pass them:: 164 | 165 | - ec2_tag: 166 | resource: vol-abcdefg 167 | tags: 168 | Name: my-volume 169 | 170 | action/module parameter:: 171 | 172 | - action: 173 | module: ec2_tag 174 | resource: vol-abcdefg 175 | tags: 176 | Name: my-volume 177 | 178 | args parameter:: 179 | 180 | - ec2_tag: resource=vol-abcdefg 181 | args: 182 | tags: 183 | Name: my-volume 184 | 185 | 186 | 187 | 188 | Host variables that modify ansible behavior 189 | =========================================== 190 | 191 | ============================ ========================================================================================= 192 | Parameter Description 193 | ============================ ========================================================================================= 194 | ansible_ssh_host hostname to connect to for a given host 195 | ansible_ssh_port ssh port to connect to for a given host 196 | ansible_ssh_user ssh user to connect as for a given host 197 | ansible_ssh_pass ssh password to connect as for a given host 198 | ansible_ssh_private_key_file ssh private key file to connect as for a given host 199 | ansible_connection connection type to use for a given host (e.g. ``local``) 200 | ansible_python_interpreter python interpreter to use 201 | ansible\_\*\_interpreter interpreter to use 202 | ============================ ========================================================================================= 203 | 204 | 205 | 206 | Variables returned by setup 207 | =========================== 208 | 209 | These are the same as the output of Facts described in a previous section. 210 | Currently, this just has one variable defined. 211 | 212 | ================= ================================================== ===================================================================================================================================================================================================================================================== 213 | Parameter Description Example 214 | ================= ================================================== ===================================================================================================================================================================================================================================================== 215 | ansible_date_time Dictionary that contains date info ``{"date": "2013-10-02", "day": "02", "epoch": "1380756810", "hour": "19","iso8601": "2013-10-02T23:33:30Z","iso8601_micro": "2013-10-02T23:33:30.036070Z","minute": "33","month": "10","second": "30","time": "19:33:30","tz": "EDT","year": "2013"}`` 216 | ================= ================================================== ===================================================================================================================================================================================================================================================== 217 | 218 | Return value of a loop 219 | ====================== 220 | 221 | If you register a variable with a task that has an iteration, e.g.:: 222 | 223 | - command: echo {{ item }} 224 | with_items: 225 | - foo 226 | - bar 227 | - baz 228 | register: echos 229 | 230 | Then the result is a dictionary with the following values: 231 | 232 | ========== ============================================================= 233 | Field name Description 234 | ========== ============================================================= 235 | changed boolean, true if anything has changed 236 | msg a message such as "All items completed" 237 | results a list that contains the return value for each loop iteration 238 | ========== ============================================================= 239 | 240 | For example, the ``echos`` variable would have the following value:: 241 | 242 | { 243 | "changed": true, 244 | "msg": "All items completed", 245 | "results": [ 246 | { 247 | "changed": true, 248 | "cmd": [ 249 | "echo", 250 | "foo" 251 | ], 252 | "delta": "0:00:00.002780", 253 | "end": "2014-06-08 16:57:52.843478", 254 | "invocation": { 255 | "module_args": "echo foo", 256 | "module_name": "command" 257 | }, 258 | "item": "foo", 259 | "rc": 0, 260 | "start": "2014-06-08 16:57:52.840698", 261 | "stderr": "", 262 | "stdout": "foo" 263 | }, 264 | { 265 | "changed": true, 266 | "cmd": [ 267 | "echo", 268 | "bar" 269 | ], 270 | "delta": "0:00:00.002736", 271 | "end": "2014-06-08 16:57:52.911243", 272 | "invocation": { 273 | "module_args": "echo bar", 274 | "module_name": "command" 275 | }, 276 | "item": "bar", 277 | "rc": 0, 278 | "start": "2014-06-08 16:57:52.908507", 279 | "stderr": "", 280 | "stdout": "bar" 281 | }, 282 | { 283 | "changed": true, 284 | "cmd": [ 285 | "echo", 286 | "baz" 287 | ], 288 | "delta": "0:00:00.003050", 289 | "end": "2014-06-08 16:57:52.979928", 290 | "invocation": { 291 | "module_args": "echo baz", 292 | "module_name": "command" 293 | }, 294 | "item": "baz", 295 | "rc": 0, 296 | "start": "2014-06-08 16:57:52.976878", 297 | "stderr": "", 298 | "stdout": "baz" 299 | } 300 | ] 301 | } 302 | -------------------------------------------------------------------------------- /docker.rst: -------------------------------------------------------------------------------- 1 | Docker stuff 2 | ============ 3 | 4 | .. _docker: 5 | 6 | Values returned by docker module 7 | -------------------------------- 8 | 9 | The Docker module sets facts, so there's no need to use `register` in order to 10 | access these variables. Instead, just access the `docker_containers` variable, 11 | which is a list that looks like this:: 12 | 13 | "docker_containers": [ 14 | { 15 | "AppArmorProfile": "", 16 | "Args": [ 17 | "postgres" 18 | ], 19 | "Config": { 20 | "AttachStderr": false, 21 | "AttachStdin": false, 22 | "AttachStdout": false, 23 | "Cmd": [ 24 | "postgres" 25 | ], 26 | "CpuShares": 0, 27 | "Cpuset": "", 28 | "Domainname": "", 29 | "Entrypoint": [ 30 | "/docker-entrypoint.sh" 31 | ], 32 | "Env": [ 33 | "POSTGRES_PASSWORD=password", 34 | "POSTGRES_USER=mezzanine", 35 | "PATH=/usr/lib/postgresql/9.4/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", 36 | "LANG=en_US.utf8", 37 | "PG_MAJOR=9.4", 38 | "PG_VERSION=9.4.0-1.pgdg70+1", 39 | "PGDATA=/var/lib/postgresql/data" 40 | ], 41 | "ExposedPorts": { 42 | "5432/tcp": {} 43 | }, 44 | "Hostname": "71f40ec4b58c", 45 | "Image": "postgres", 46 | "MacAddress": "", 47 | "Memory": 0, 48 | "MemorySwap": 0, 49 | "NetworkDisabled": false, 50 | "OnBuild": null, 51 | "OpenStdin": false, 52 | "PortSpecs": null, 53 | "StdinOnce": false, 54 | "Tty": false, 55 | "User": "", 56 | "Volumes": { 57 | "/var/lib/postgresql/data": {} 58 | }, 59 | "WorkingDir": "" 60 | }, 61 | "Created": "2014-12-25T22:59:15.841107151Z", 62 | "Driver": "aufs", 63 | "ExecDriver": "native-0.2", 64 | "HostConfig": { 65 | "Binds": null, 66 | "CapAdd": null, 67 | "CapDrop": null, 68 | "ContainerIDFile": "", 69 | "Devices": null, 70 | "Dns": null, 71 | "DnsSearch": null, 72 | "ExtraHosts": null, 73 | "IpcMode": "", 74 | "Links": null, 75 | "LxcConf": null, 76 | "NetworkMode": "", 77 | "PortBindings": { 78 | "5432/tcp": [ 79 | { 80 | "HostIp": "0.0.0.0", 81 | "HostPort": "" 82 | } 83 | ] 84 | }, 85 | "Privileged": false, 86 | "PublishAllPorts": false, 87 | "RestartPolicy": { 88 | "MaximumRetryCount": 0, 89 | "Name": "" 90 | }, 91 | "SecurityOpt": null, 92 | "VolumesFrom": [ 93 | "data-volume" 94 | ] 95 | }, 96 | "HostnamePath": "/mnt/sda1/var/lib/docker/containers/71f40ec4b58c3176030274afb025fbd3eb130fe79d4a6a69de473096f335e7eb/hostname", 97 | "HostsPath": "/mnt/sda1/var/lib/docker/containers/71f40ec4b58c3176030274afb025fbd3eb130fe79d4a6a69de473096f335e7eb/hosts", 98 | "Id": "71f40ec4b58c3176030274afb025fbd3eb130fe79d4a6a69de473096f335e7eb", 99 | "Image": "b58a816df10fb20c956d39724001d4f2fabddec50e0d9099510f0eb579ec8a45", 100 | "MountLabel": "", 101 | "Name": "/high_lovelace", 102 | "NetworkSettings": { 103 | "Bridge": "docker0", 104 | "Gateway": "172.17.42.1", 105 | "IPAddress": "172.17.0.12", 106 | "IPPrefixLen": 16, 107 | "MacAddress": "02:42:ac:11:00:0c", 108 | "PortMapping": null, 109 | "Ports": { 110 | "5432/tcp": [ 111 | { 112 | "HostIp": "0.0.0.0", 113 | "HostPort": "49153" 114 | } 115 | ] 116 | } 117 | }, 118 | "Path": "/docker-entrypoint.sh", 119 | "ProcessLabel": "", 120 | "ResolvConfPath": "/mnt/sda1/var/lib/docker/containers/71f40ec4b58c3176030274afb025fbd3eb130fe79d4a6a69de473096f335e7eb/resolv.conf", 121 | "State": { 122 | "Error": "", 123 | "ExitCode": 0, 124 | "FinishedAt": "0001-01-01T00:00:00Z", 125 | "OOMKilled": false, 126 | "Paused": false, 127 | "Pid": 9625, 128 | "Restarting": false, 129 | "Running": true, 130 | "StartedAt": "2014-12-25T22:59:16.219732465Z" 131 | }, 132 | "Volumes": { 133 | "/var/lib/postgresql/data": "/mnt/sda1/var/lib/docker/vfs/dir/4ccd3150c8d74b9b0feb56df928ac915599e12c3ab573cd4738a18fe3dc6f474" 134 | }, 135 | "VolumesRW": { 136 | "/var/lib/postgresql/data": true 137 | } 138 | } 139 | ] 140 | -------------------------------------------------------------------------------- /ec2.rst: -------------------------------------------------------------------------------- 1 | EC2 stuff 2 | ========= 3 | 4 | .. _ec2: 5 | 6 | * `Values returned by EC2 module <#values-returned-by-ec2-module>`_ 7 | 8 | + `EC2 instance dicts <#ec2-instance-dicts>`_ 9 | 10 | * `Values returned by ec2_vpc module <#values-returned-by-ec2_vpc-module>`_ 11 | 12 | + `subnet dict <#subnet-dict>`_ 13 | + `vpc dict <#vpc-dict>`_ 14 | 15 | * `hostvars from ec2.py dynamic inventory script <#hostvars-from-ec2py-dynamic-inventory-script>`_ 16 | * `Values returned by ec2_facts module <#values-returned-by-ec2_facts-module>`_ 17 | * `Values returned by ec2_ami module <#values-returned-by-ec2_ami-module>`_ 18 | * `Values returned by ec2_vol module <#values-returned-by-ec2_vol-module>`_ 19 | * `Values returned by ec2_key module <#values-returned-by-ec2_key-module>`_ 20 | 21 | 22 | Values returned by ec2 module 23 | ------------------------------ 24 | 25 | This assumes you're using tagging. 26 | 27 | 28 | If the instances don't exist yet:: 29 | 30 | { 31 | "changed": false, 32 | "instance_ids": [ 33 | "i-db2fd037", 34 | ], 35 | "instances": [ 36 | { 37 | "ami_launch_index": "0", 38 | "architecture": "x86_64", 39 | "dns_name": "ec2-54-173-62-41.compute-1.amazonaws.com", 40 | "ebs_optimized": false, 41 | "hypervisor": "xen", 42 | "id": "i-db2fd037", 43 | "image_id": "ami-9aaa1cf2", 44 | "instance_type": "t2.micro", 45 | "kernel": null, 46 | "key_name": "mykey", 47 | "launch_time": "2014-11-16T03:53:31.000Z", 48 | "placement": "us-east-1d", 49 | "private_dns_name": "ip-10-0-0-17.ec2.internal", 50 | "private_ip": "10.0.0.17", 51 | "public_dns_name": "ec2-54-173-62-41.compute-1.amazonaws.com", 52 | "public_ip": "54.173.62.41", 53 | "ramdisk": null, 54 | "region": "us-east-1", 55 | "root_device_name": "/dev/sda1", 56 | "root_device_type": "ebs", 57 | "state": "running", 58 | "state_code": 16, 59 | "virtualization_type": "hvm" 60 | } 61 | ] 62 | "invocation": { 63 | "module_args": "", 64 | "module_name": "ec2" 65 | }, 66 | "tagged_instances": [ 67 | { 68 | "ami_launch_index": "0", 69 | "architecture": "x86_64", 70 | "dns_name": "ec2-54-173-62-41.compute-1.amazonaws.com", 71 | "ebs_optimized": false, 72 | "hypervisor": "xen", 73 | "id": "i-db2fd037", 74 | "image_id": "ami-9aaa1cf2", 75 | "instance_type": "t2.micro", 76 | "kernel": null, 77 | "key_name": "mykey", 78 | "launch_time": "2014-11-16T03:53:31.000Z", 79 | "placement": "us-east-1d", 80 | "private_dns_name": "ip-10-0-0-17.ec2.internal", 81 | "private_ip": "10.0.0.17", 82 | "public_dns_name": "ec2-54-173-62-41.compute-1.amazonaws.com", 83 | "public_ip": "54.173.62.41", 84 | "ramdisk": null, 85 | "region": "us-east-1", 86 | "root_device_name": "/dev/sda1", 87 | "root_device_type": "ebs", 88 | "state": "running", 89 | "state_code": 16, 90 | "virtualization_type": "hvm" 91 | } 92 | ] 93 | } 94 | 95 | If the instances already exist:: 96 | 97 | { 98 | "changed": false, 99 | "instance_ids": null, 100 | "instances": null, 101 | "invocation": { 102 | "module_args": "", 103 | "module_name": "ec2" 104 | }, 105 | "tagged_instances": [ 106 | { 107 | "ami_launch_index": "0", 108 | "architecture": "x86_64", 109 | "dns_name": "ec2-54-173-62-41.compute-1.amazonaws.com", 110 | "ebs_optimized": false, 111 | "hypervisor": "xen", 112 | "id": "i-db2fd037", 113 | "image_id": "ami-9aaa1cf2", 114 | "instance_type": "t2.micro", 115 | "kernel": null, 116 | "key_name": "mykey", 117 | "launch_time": "2014-11-16T03:53:31.000Z", 118 | "placement": "us-east-1d", 119 | "private_dns_name": "ip-10-0-0-17.ec2.internal", 120 | "private_ip": "10.0.0.17", 121 | "public_dns_name": "ec2-54-173-62-41.compute-1.amazonaws.com", 122 | "public_ip": "54.173.62.41", 123 | "ramdisk": null, 124 | "region": "us-east-1", 125 | "root_device_name": "/dev/sda1", 126 | "root_device_type": "ebs", 127 | "state": "running", 128 | "state_code": 16, 129 | "virtualization_type": "hvm" 130 | } 131 | ] 132 | } 133 | 134 | =================== ======================================================================= 135 | Parameter Description 136 | =================== ======================================================================= 137 | instance_ids List of instance ids for new instaces 138 | instances List of instance dicts for new instances (see table below) 139 | tagged_instances List of instance dicts that already exist if exact_count is used 140 | =================== ======================================================================= 141 | 142 | EC2 instance dicts 143 | ~~~~~~~~~~~~~~~~~~ 144 | 145 | =================== ======================================================================= 146 | Parameter Description 147 | =================== ======================================================================= 148 | id instance id 149 | ami_launch_index instance index within a reservation (between 0 and N-1) if N launched 150 | private_ip internal IP address (not routable outside of EC2) 151 | private_dns_name internal DNS name (not routable outside of EC2) 152 | public_ip public IP address 153 | public_dns_name public DNS name 154 | state_code reason code for the state change 155 | architecture CPU architecture 156 | image_id AMI 157 | key_name keypair name 158 | placement location where the instance was launched 159 | kernel AKI 160 | ramdisk ARI 161 | launch_time time instance was launched 162 | instance_type instance type 163 | root_device_type type of root device (ephemeral, EBS) 164 | root_device_name name of root device 165 | state state of instance 166 | hypervisor hypervisor type 167 | =================== ======================================================================= 168 | 169 | .. _ec2_vpc: 170 | 171 | Values returned by ec2_vpc module 172 | --------------------------------- 173 | 174 | Example output:: 175 | 176 | { 177 | "changed": false, 178 | "invocation": { 179 | "module_args": "", 180 | "module_name": "ec2_vpc" 181 | }, 182 | "subnets": [ 183 | { 184 | "az": "us-east-1d", 185 | "cidr": "10.0.0.0/24", 186 | "id": "subnet-30d30549", 187 | "resource_tags": { 188 | "env": "production", 189 | "tier": "web" 190 | } 191 | }, 192 | { 193 | "az": "us-east-1d", 194 | "cidr": "10.0.1.0/24", 195 | "id": "subnet-43d3054a", 196 | "resource_tags": { 197 | "env": "production", 198 | "tier": "db" 199 | } 200 | } 201 | ], 202 | "vpc": { 203 | "cidr_block": "10.0.0.0/16", 204 | "dhcp_options_id": "dopt-203f5742", 205 | "id": "vpc-83a135e6", 206 | "region": "us-east-1", 207 | "state": "available" 208 | }, 209 | "vpc_id": "vpc-83a135e6" 210 | } 211 | 212 | =================== ======================================================================= 213 | Parameter Description 214 | =================== ======================================================================= 215 | subnets List of subnet dicts (see below) 216 | vpc vpc dict (see below) 217 | vpc_id vpc id (e.g. `vpc-12345678`) 218 | =================== ======================================================================= 219 | 220 | subnet dict 221 | ~~~~~~~~~~~ 222 | 223 | =================== ======================================================================= 224 | Parameter Description 225 | =================== ======================================================================= 226 | az availability zone (e.g., us-east-1d) 227 | cidr subnet in CIDR format (e.g., 10.0.0.0/24) 228 | id subnet id (e.g. `subnet-12345678`) 229 | resource_tags dictionary of resource tags 230 | =================== ======================================================================= 231 | 232 | vpc dict 233 | ~~~~~~~~ 234 | 235 | =================== ======================================================================= 236 | Parameter Description 237 | =================== ======================================================================= 238 | cidr_block subnet in CIDR format (e.g. 10.0.0.0/16) 239 | dhcp_options_id e.g. `dopt-12345678` 240 | id vpc id (e.g., `vpc-12345678`) 241 | region ec2 region (e.g., us-east-1) 242 | state state of vpc (e.g., available) 243 | =================== ======================================================================= 244 | 245 | .. _hostvars: 246 | 247 | hostvars from ec2.py dynamic inventory script 248 | --------------------------------------------- 249 | 250 | ec2.py defines the following host variables: 251 | 252 | ============================= ======================================================================= 253 | Variable Description 254 | ============================= ======================================================================= 255 | ec2__in_monitoring_element 256 | ec2_ami_launch_index 257 | ec2_architecture 258 | ec2_client_token 259 | ec2_dns_name 260 | ec2_ebs_optimized 261 | ec2_eventsSet 262 | ec2_group_name 263 | ec2_hypervisor 264 | ec2_id instance id 265 | ec2_image_id 266 | ec2_instance_profile 267 | ec2_instance_type 268 | ec2_ip_address 269 | ec2_item 270 | ec2_kernel 271 | ec2_key_name 272 | ec2_launch_time 273 | ec2_monitored 274 | ec2_monitoring 275 | ec2_monitoring_state 276 | ec2_persistent 277 | ec2_placement 278 | ec2_platform 279 | ec2_previous_state 280 | ec2_previous_state_code 281 | ec2_private_dns_name 282 | ec2_private_ip_address 283 | ec2_public_dns_name 284 | ec2_ramdisk 285 | ec2_reason 286 | ec2_region 287 | ec2_requester_id 288 | ec2_root_device_name 289 | ec2_root_device_type 290 | ec2_security_group_ids 291 | ec2_security_group_names 292 | ec2_spot_instance_request_id 293 | ec2_state 294 | ec2_state_code 295 | ec2_state_reason 296 | ec2_subnet_id 297 | ec2_tag_Name 298 | ec2_tag_env 299 | ec2_virtualization_type 300 | ec2_vpc_id 301 | ============================= ======================================================================= 302 | 303 | .. _ec2_facts: 304 | 305 | Values returned by ec2_facts module 306 | ----------------------------------- 307 | 308 | This will connect to the EC2 metadata service and set the variables, prefixed 309 | with ``ansible_ec2_``. Any variable that has a dash (``-``) or colon (``:``) in 310 | the name will also have a copied version of that variable with underscores 311 | instead (e.g., ``ansible_ec2_ami-id`` and ``ansible_ec2_ami_id``). 312 | 313 | Here we just show the underscore-replaced versions 314 | 315 | 316 | ===================================================================== ======================================================================= 317 | Parameter Description 318 | ===================================================================== ======================================================================= 319 | ansible_ec2_ami_launch_index ? (e.g., `0`) 320 | ansible_ec2_ami_manifest_path ? (e.g., `(unknown)`) 321 | ansible_ec2_hostname hostname 322 | ansible_ec2_instance_action tbd 323 | ansible_ec2_instance_id instance id 324 | ansible_ec2_instance_type instance type 325 | ansible_ec2_kernel_id AKI 326 | ansible_ec2_local_hostname internal hostname 327 | ansible_ec2_local_ipv4 internal IP address 328 | ansible_ec2_mac MAC address (e.g., ``22:00:0a:1f:b2:34``) 329 | ansible_ec2_network_interfaces_macs_XX_XX_XX_XX_XX_XX_device_number device number (e.g., ``0``) 330 | ansible_ec2_network_interfaces_macs_XX_XX_XX_XX_XX_XX_local_hostname internal hostname for interface (e.g., ``ip-10-31-178-52.ec2.internal``) 331 | ansible_ec2_network_interfaces_macs_XX_XX_XX_XX_XX_XX_local_ipv4s internal IP for interface (e.g., ``10.31.178.52``) 332 | ansible_ec2_network_interfaces_macs_XX_XX_XX_XX_XX_XX_mac MAC address (e.g., ``22:00:0a:1f:b2:34``) 333 | ansible_ec2_network_interfaces_macs_XX_XX_XX_XX_XX_XX_owner_id Owner ID (e.g., ``635425997824``) 334 | ansible_ec2_network_interfaces_macs_XX_XX_XX_XX_XX_XX_public_hostname public hostname (e.g., ``ec2-107-20-42-224.compute-1.amazonaws.com``) 335 | ansible_ec2_network_interfaces_macs_XX_XX_XX_XX_XX_XX_public_ipv4s" public IP (e.g., ``107.20.42.224``) 336 | ansible_ec2_public_hostname public hostname (e.g., ``ec2-107-20-42-224.compute-1.amazonaws.com``) 337 | ansible_ec2_public_key ssh public key 338 | ansible_ec2_public_ipv4 public IP address (e.g., ``107.20.42.224``) 339 | ansible_ec2_reservation_id reservation id 340 | ansible_ec2_security_groups comma-delimited list of security groups (e.g., ``ssh,ping``) 341 | ansible_ec2_instance_type instance type (e.g., ``t1.micro``) 342 | ansible_ec2_placement_availability_zone availability zone (e.g., ``us-east-1b``) 343 | ansible_ec2_placement_region region (e.g., ``us-east-1``) 344 | ansible_ec2_profile profile (e.g. ``default-paravitual``) 345 | ansible_ec2_user_data user data 346 | ===================================================================== ======================================================================= 347 | 348 | .. _ec2_ami: 349 | 350 | Values returned by ec2_ami module 351 | --------------------------------- 352 | 353 | =================== ======================================================================= 354 | Parameter Description 355 | =================== ======================================================================= 356 | image_id AMI id 357 | state state of the image 358 | =================== ======================================================================= 359 | 360 | .. _ec2_vol: 361 | 362 | Values returned by ec2_vol module 363 | --------------------------------- 364 | 365 | =================== ======================================================================= 366 | Parameter Description 367 | =================== ======================================================================= 368 | volume_id volume id 369 | device device name 370 | =================== ======================================================================= 371 | 372 | .. _ec2_key: 373 | 374 | Values returned by ec2_key module 375 | --------------------------------- 376 | 377 | =================== ======================================================================= 378 | Parameter Description 379 | =================== ======================================================================= 380 | key.fingerprint SSH public key fingerprint 381 | key.name SSH keypair name 382 | key.private_key SSH private key string (only if creating new key) 383 | =================== ======================================================================= 384 | -------------------------------------------------------------------------------- /facts.rst: -------------------------------------------------------------------------------- 1 | ===== 2 | Facts 3 | ===== 4 | 5 | Example facts generated from a Vagrant machine. 6 | 7 | Facts that start with ``facter_`` 8 | will only be collected if the facter_ program is present. Facts that start with 9 | ``ohai_`` will only be present if the ohai_ program is present:: 10 | 11 | { 12 | "ansible_all_ipv4_addresses": [ 13 | "10.0.2.15", 14 | "192.168.33.10" 15 | ], 16 | "ansible_all_ipv6_addresses": [ 17 | "fe80::a00:27ff:fefe:1e4d", 18 | "fe80::a00:27ff:fe23:ae8e" 19 | ], 20 | "ansible_architecture": "x86_64", 21 | "ansible_bios_date": "12/01/2006", 22 | "ansible_bios_version": "VirtualBox", 23 | "ansible_cmdline": { 24 | "BOOT_IMAGE": "/boot/vmlinuz-3.13.0-35-generic", 25 | "console": "ttyS0", 26 | "ro": true, 27 | "root": "UUID=6e008225-f9bd-4b27-ad0d-e7d323b7a780" 28 | }, 29 | "ansible_date_time": { 30 | "date": "2014-12-08", 31 | "day": "08", 32 | "epoch": "1418007742", 33 | "hour": "03", 34 | "iso8601": "2014-12-08T03:02:22Z", 35 | "iso8601_micro": "2014-12-08T03:02:22.861624Z", 36 | "minute": "02", 37 | "month": "12", 38 | "second": "22", 39 | "time": "03:02:22", 40 | "tz": "UTC", 41 | "tz_offset": "+0000", 42 | "weekday": "Monday", 43 | "year": "2014" 44 | }, 45 | "ansible_default_ipv4": { 46 | "address": "10.0.2.15", 47 | "alias": "eth0", 48 | "gateway": "10.0.2.2", 49 | "interface": "eth0", 50 | "macaddress": "08:00:27:fe:1e:4d", 51 | "mtu": 1500, 52 | "netmask": "255.255.255.0", 53 | "network": "10.0.2.0", 54 | "type": "ether" 55 | }, 56 | "ansible_default_ipv6": {}, 57 | "ansible_devices": { 58 | "sda": { 59 | "holders": [], 60 | "host": "SATA controller: Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) SATA 61 | Controller [AHCI mode] (rev 02)", 62 | "model": "VBOX HARDDISK", 63 | "partitions": { 64 | "sda1": { 65 | "sectors": "83884032", 66 | "sectorsize": 512, 67 | "size": "40.00 GB", 68 | "start": "2048" 69 | } 70 | }, 71 | "removable": "0", 72 | "rotational": "1", 73 | "scheduler_mode": "deadline", 74 | "sectors": "83886080", 75 | "sectorsize": "512", 76 | "size": "40.00 GB", 77 | "support_discard": "0", 78 | "vendor": "ATA" 79 | } 80 | }, 81 | "ansible_distribution": "Ubuntu", 82 | "ansible_distribution_major_version": "14", 83 | "ansible_distribution_release": "trusty", 84 | "ansible_distribution_version": "14.04", 85 | "ansible_domain": "", 86 | "ansible_env": { 87 | "HOME": "/home/vagrant", 88 | "LANG": "en_US.UTF-8", 89 | "LC_CTYPE": "en_US.UTF-8", 90 | "LOGNAME": "vagrant", 91 | "MAIL": "/var/mail/vagrant", 92 | "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games: 93 | /usr/local/games", 94 | "PWD": "/home/vagrant", 95 | "SHELL": "/bin/bash", 96 | "SHLVL": "1", 97 | "SSH_AUTH_SOCK": "/tmp/ssh-FTJFi2Tu1j/agent.12316", 98 | "SSH_CLIENT": "192.168.33.1 58426 22", 99 | "SSH_CONNECTION": "192.168.33.1 58426 192.168.33.10 22", 100 | "USER": "vagrant", 101 | "XDG_RUNTIME_DIR": "/run/user/1000", 102 | "XDG_SESSION_ID": "5", 103 | "_": "/bin/sh" 104 | }, 105 | "ansible_eth0": { 106 | "active": true, 107 | "device": "eth0", 108 | "ipv4": { 109 | "address": "10.0.2.15", 110 | "netmask": "255.255.255.0", 111 | "network": "10.0.2.0" 112 | }, 113 | "ipv6": [ 114 | { 115 | "address": "fe80::a00:27ff:fefe:1e4d", 116 | "prefix": "64", 117 | "scope": "link" 118 | } 119 | ], 120 | "macaddress": "08:00:27:fe:1e:4d", 121 | "module": "e1000", 122 | "mtu": 1500, 123 | "promisc": false, 124 | "type": "ether" 125 | }, 126 | "ansible_eth1": { 127 | "active": true, 128 | "device": "eth1", 129 | "ipv4": { 130 | "address": "192.168.33.10", 131 | "netmask": "255.255.255.0", 132 | "network": "192.168.33.0" 133 | }, 134 | "ipv6": [ 135 | { 136 | "address": "fe80::a00:27ff:fe23:ae8e", 137 | "prefix": "64", 138 | "scope": "link" 139 | } 140 | ], 141 | "macaddress": "08:00:27:23:ae:8e", 142 | "module": "e1000", 143 | "mtu": 1500, 144 | "promisc": false, 145 | "type": "ether" 146 | }, 147 | "ansible_fips": false, 148 | "ansible_form_factor": "Other", 149 | "ansible_fqdn": "vagrant-ubuntu-trusty-64", 150 | "ansible_hostname": "vagrant-ubuntu-trusty-64", 151 | "ansible_interfaces": [ 152 | "lo", 153 | "eth1", 154 | "eth0" 155 | ], 156 | "ansible_kernel": "3.13.0-35-generic", 157 | "ansible_lo": { 158 | "active": true, 159 | "device": "lo", 160 | "ipv4": { 161 | "address": "127.0.0.1", 162 | "netmask": "255.0.0.0", 163 | "network": "127.0.0.0" 164 | }, 165 | "ipv6": [ 166 | { 167 | "address": "::1", 168 | "prefix": "128", 169 | "scope": "host" 170 | } 171 | ], 172 | "mtu": 65536, 173 | "promisc": false, 174 | "type": "loopback" 175 | }, 176 | "ansible_lsb": { 177 | "codename": "trusty", 178 | "description": "Ubuntu 14.04.1 LTS", 179 | "id": "Ubuntu", 180 | "major_release": "14", 181 | "release": "14.04" 182 | }, 183 | "ansible_machine": "x86_64", 184 | "ansible_memfree_mb": 101, 185 | "ansible_memtotal_mb": 994, 186 | "ansible_mounts": [ 187 | { 188 | "device": "/dev/sda1", 189 | "fstype": "ext4", 190 | "mount": "/", 191 | "options": "rw", 192 | "size_available": 38925029376, 193 | "size_total": 42241163264 194 | } 195 | ], 196 | "ansible_nodename": "vagrant-ubuntu-trusty-64", 197 | "ansible_os_family": "Debian", 198 | "ansible_pkg_mgr": "apt", 199 | "ansible_processor": [ 200 | "GenuineIntel", 201 | "Intel(R) Core(TM) i7-4960HQ CPU @ 2.60GHz" 202 | ], 203 | "ansible_processor_cores": 1, 204 | "ansible_processor_count": 1, 205 | "ansible_processor_threads_per_core": 1, 206 | "ansible_processor_vcpus": 1, 207 | "ansible_product_name": "VirtualBox", 208 | "ansible_product_serial": "NA", 209 | "ansible_product_uuid": "NA", 210 | "ansible_product_version": "1.2", 211 | "ansible_python_version": "2.7.6", 212 | "ansible_selinux": false, 213 | "ansible_ssh_host_key_dsa_public": 214 | "AAAAB3NzaC1kc3MAAACBAJ7d5+Srn6T30vRnMBNnfQNcfSB...", 215 | "ansible_ssh_host_key_ecdsa_public": 216 | "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTY...", 217 | "ansible_ssh_host_key_rsa_public": 218 | "AAAAB3NzaC1yc2EAAAADAQABAAABAQDK0HsEEopBN2+N801...", 219 | "ansible_swapfree_mb": 0, 220 | "ansible_swaptotal_mb": 0, 221 | "ansible_system": "Linux", 222 | "ansible_system_vendor": "innotek GmbH", 223 | "ansible_user_id": "vagrant", 224 | "ansible_userspace_architecture": "x86_64", 225 | "ansible_userspace_bits": "64", 226 | "ansible_virtualization_role": "guest", 227 | "ansible_virtualization_type": "virtualbox", 228 | "facter_architecture": "amd64", 229 | "facter_augeasversion": "1.2.0", 230 | "facter_blockdevice_sda_model": "VBOX HARDDISK", 231 | "facter_blockdevice_sda_size": 42949672960, 232 | "facter_blockdevice_sda_vendor": "ATA", 233 | "facter_blockdevices": "sda", 234 | "facter_facterversion": "1.7.5", 235 | "facter_filesystems": "ext2,ext3,ext4,vfat", 236 | "facter_hardwareisa": "x86_64", 237 | "facter_hardwaremodel": "x86_64", 238 | "facter_hostname": "vagrant-ubuntu-trusty-64", 239 | "facter_id": "vagrant", 240 | "facter_interfaces": "eth0,eth1,lo", 241 | "facter_ipaddress": "10.0.2.15", 242 | "facter_ipaddress_eth0": "10.0.2.15", 243 | "facter_ipaddress_eth1": "192.168.33.10", 244 | "facter_ipaddress_lo": "127.0.0.1", 245 | sshdsakey": 246 | "AAAAB3NzaC1kc3MAAACBAJ7d5+Srn6T30vRnMBNnfQNcfSB...", 247 | "facter_sshecdsakey": 248 | "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTY...", 249 | "facter_sshfp_dsa": 250 | "SSHFP 2 1 6b52b74c0ea2bbd5276f7148509bfa0318e55...", 251 | "facter_sshfp_ecdsa": 252 | "SSHFP 3 1 d7be510097620ad9f6705c7641ba0d695b73d...", 253 | "facter_sshfp_rsa": 254 | "SSHFP 1 1 100db6f684fe47130dfdef5bd1b4e4cda28cb...", 255 | "facter_sshrsakey": 256 | "AAAAB3NzaC1yc2EAAAADAQABAAABAQDK0HsEEopBN2+N801...", 257 | "facter_swapfree": "0.00 MB", 258 | "facter_swapfree_mb": "0.00", 259 | "facter_swapsize": "0.00 MB", 260 | "facter_swapsize_mb": "0.00", 261 | "facter_timezone": "UTC", 262 | "facter_uniqueid": "000a0f02", 263 | "facter_uptime": "0:10 hours", 264 | "facter_uptime_days": 0, 265 | "facter_uptime_hours": 0, 266 | "facter_uptime_seconds": 637, 267 | "facter_virtual": "virtualbox", 268 | "module_setup": true, 269 | "ohai_block_device": { 270 | "loop0": { 271 | "removable": "0", 272 | "size": "0" 273 | }, 274 | "loop1": { 275 | "removable": "0", 276 | "size": "0" 277 | }, 278 | "loop2": { 279 | "removable": "0", 280 | "size": "0" 281 | }, 282 | "loop3": { 283 | "removable": "0", 284 | "size": "0" 285 | }, 286 | "loop4": { 287 | "removable": "0", 288 | "size": "0" 289 | }, 290 | "loop5": { 291 | "removable": "0", 292 | "size": "0" 293 | }, 294 | "loop6": { 295 | "removable": "0", 296 | "size": "0" 297 | }, 298 | "loop7": { 299 | "removable": "0", 300 | "size": "0" 301 | }, 302 | "ram0": { 303 | "removable": "0", 304 | "size": "131072" 305 | }, 306 | "ram1": { 307 | "removable": "0", 308 | "size": "131072" 309 | }, 310 | "ram10": { 311 | "removable": "0", 312 | "size": "131072" 313 | }, 314 | "ram11": { 315 | "removable": "0", 316 | "size": "131072" 317 | }, 318 | "ram12": { 319 | "removable": "0", 320 | "size": "131072" 321 | }, 322 | "ram13": { 323 | "removable": "0", 324 | "size": "131072" 325 | }, 326 | "ram14": { 327 | "removable": "0", 328 | "size": "131072" 329 | }, 330 | "ram15": { 331 | "removable": "0", 332 | "size": "131072" 333 | }, 334 | "ram2": { 335 | "removable": "0", 336 | "size": "131072" 337 | }, 338 | "ram3": { 339 | "removable": "0", 340 | "size": "131072" 341 | }, 342 | "ram4": { 343 | "removable": "0", 344 | "size": "131072" 345 | }, 346 | "ram5": { 347 | "removable": "0", 348 | "size": "131072" 349 | }, 350 | "ram6": { 351 | "removable": "0", 352 | "size": "131072" 353 | }, 354 | "ram7": { 355 | "removable": "0", 356 | "size": "131072" 357 | }, 358 | "ram8": { 359 | "removable": "0", 360 | "size": "131072" 361 | }, 362 | "ram9": { 363 | "removable": "0", 364 | "size": "131072" 365 | }, 366 | "sda": { 367 | "model": "VBOX HARDDISK", 368 | "removable": "0", 369 | "rev": "1.0", 370 | "size": "83886080", 371 | "state": "running", 372 | "timeout": "30", 373 | "vendor": "ATA" 374 | } 375 | }, 376 | "ohai_chef_packages": { 377 | "chef": { 378 | "chef_root": "/usr/lib/ruby/vendor_ruby", 379 | "version": "11.8.2" 380 | }, 381 | "ohai": { 382 | "ohai_root": "/usr/lib/ruby/vendor_ruby/ohai", 383 | "version": "6.14.0" 384 | } 385 | }, 386 | "ohai_command": { 387 | "ps": "ps -ef" 388 | }, 389 | "ohai_counters": { 390 | "network": { 391 | "interfaces": { 392 | "eth0": { 393 | "rx": { 394 | "bytes": "87120229", 395 | "drop": "0", 396 | "errors": "0", 397 | "overrun": "0", 398 | "packets": "95129" 399 | }, 400 | "tx": { 401 | "bytes": "2411491", 402 | "carrier": "0", 403 | "collisions": "0", 404 | "drop": "0", 405 | "errors": "0", 406 | "packets": "38200", 407 | "queuelen": "1000" 408 | } 409 | }, 410 | "eth1": { 411 | "rx": { 412 | "bytes": "342365", 413 | "drop": "0", 414 | "errors": "0", 415 | "overrun": "0", 416 | "packets": "430" 417 | }, 418 | "tx": { 419 | "bytes": "36139", 420 | "carrier": "0", 421 | "collisions": "0", 422 | "drop": "0", 423 | "errors": "0", 424 | "packets": "218", 425 | "queuelen": "1000" 426 | } 427 | }, 428 | "lo": { 429 | "rx": { 430 | "bytes": "761691", 431 | "drop": "0", 432 | "errors": "0", 433 | "overrun": "0", 434 | "packets": "2740" 435 | }, 436 | "tx": { 437 | "bytes": "761691", 438 | "carrier": "0", 439 | "collisions": "0", 440 | "drop": "0", 441 | "errors": "0", 442 | "packets": "2740" 443 | } 444 | } 445 | } 446 | } 447 | }, 448 | "ohai_cpu": { 449 | "0": { 450 | "cache_size": "6144 KB", 451 | "core_id": "0", 452 | "cores": "1", 453 | "family": "6", 454 | "flags": [ 455 | "fpu", 456 | "vme", 457 | "de", 458 | "pse", 459 | "tsc", 460 | "msr", 461 | "pae", 462 | "mce", 463 | "cx8", 464 | "apic", 465 | "sep", 466 | "mtrr", 467 | "pge", 468 | "mca", 469 | "cmov", 470 | "pat", 471 | "pse36", 472 | "clflush", 473 | "mmx", 474 | "fxsr", 475 | "sse", 476 | "sse2", 477 | "syscall", 478 | "nx", 479 | "rdtscp", 480 | "lm", 481 | "constant_tsc", 482 | "rep_good", 483 | "nopl", 484 | "pni", 485 | "monitor", 486 | "ssse3", 487 | "lahf_lm" 488 | ], 489 | "mhz": "2591.391", 490 | "model": "70", 491 | "model_name": "Intel(R) Core(TM) i7-4960HQ CPU @ 2.60GHz", 492 | "physical_id": "0", 493 | "stepping": "1", 494 | "vendor_id": "GenuineIntel" 495 | }, 496 | "real": 1, 497 | "total": 1 498 | }, 499 | "ohai_current_user": "vagrant", 500 | "ohai_dmi": { 501 | "dmidecode_version": "2.12" 502 | }, 503 | "ohai_domain": null, 504 | "ohai_etc": { 505 | "group": { 506 | "adm": { 507 | "gid": 4, 508 | "members": [ 509 | "syslog", 510 | "ubuntu" 511 | ] 512 | }, 513 | "admin": { 514 | "gid": 110, 515 | "members": [] 516 | }, 517 | "audio": { 518 | "gid": 29, 519 | "members": [ 520 | "ubuntu" 521 | ] 522 | }, 523 | "backup": { 524 | "gid": 34, 525 | "members": [] 526 | }, 527 | "bin": { 528 | "gid": 2, 529 | "members": [] 530 | }, 531 | "cdrom": { 532 | "gid": 24, 533 | "members": [ 534 | "ubuntu" 535 | ] 536 | }, 537 | "crontab": { 538 | "gid": 103, 539 | "members": [] 540 | }, 541 | "daemon": { 542 | "gid": 1, 543 | "members": [] 544 | }, 545 | "dialout": { 546 | "gid": 20, 547 | "members": [ 548 | "ubuntu" 549 | ] 550 | }, 551 | "dip": { 552 | "gid": 30, 553 | "members": [ 554 | "ubuntu" 555 | ] 556 | }, 557 | "disk": { 558 | "gid": 6, 559 | "members": [] 560 | }, 561 | "fax": { 562 | "gid": 21, 563 | "members": [] 564 | }, 565 | "floppy": { 566 | "gid": 25, 567 | "members": [ 568 | "ubuntu" 569 | ] 570 | }, 571 | "fuse": { 572 | "gid": 105, 573 | "members": [] 574 | }, 575 | "games": { 576 | "gid": 60, 577 | "members": [] 578 | }, 579 | "gnats": { 580 | "gid": 41, 581 | "members": [] 582 | }, 583 | "irc": { 584 | "gid": 39, 585 | "members": [] 586 | }, 587 | "kmem": { 588 | "gid": 15, 589 | "members": [] 590 | }, 591 | "landscape": { 592 | "gid": 109, 593 | "members": [] 594 | }, 595 | "libuuid": { 596 | "gid": 101, 597 | "members": [] 598 | }, 599 | "list": { 600 | "gid": 38, 601 | "members": [] 602 | }, 603 | "lp": { 604 | "gid": 7, 605 | "members": [] 606 | }, 607 | "mail": { 608 | "gid": 8, 609 | "members": [] 610 | }, 611 | "man": { 612 | "gid": 12, 613 | "members": [] 614 | }, 615 | "memcache": { 616 | "gid": 113, 617 | "members": [] 618 | }, 619 | "messagebus": { 620 | "gid": 106, 621 | "members": [] 622 | }, 623 | "mlocate": { 624 | "gid": 107, 625 | "members": [] 626 | }, 627 | "netdev": { 628 | "gid": 102, 629 | "members": [ 630 | "ubuntu" 631 | ] 632 | }, 633 | "news": { 634 | "gid": 9, 635 | "members": [] 636 | }, 637 | "nogroup": { 638 | "gid": 65534, 639 | "members": [] 640 | }, 641 | "operator": { 642 | "gid": 37, 643 | "members": [] 644 | }, 645 | "plugdev": { 646 | "gid": 46, 647 | "members": [ 648 | "ubuntu" 649 | ] 650 | }, 651 | "postgres": { 652 | "gid": 115, 653 | "members": [] 654 | }, 655 | "proxy": { 656 | "gid": 13, 657 | "members": [] 658 | }, 659 | "puppet": { 660 | "gid": 112, 661 | "members": [] 662 | }, 663 | "root": { 664 | "gid": 0, 665 | "members": [] 666 | }, 667 | "sasl": { 668 | "gid": 45, 669 | "members": [] 670 | }, 671 | "shadow": { 672 | "gid": 42, 673 | "members": [] 674 | }, 675 | "src": { 676 | "gid": 40, 677 | "members": [] 678 | }, 679 | "ssh": { 680 | "gid": 108, 681 | "members": [] 682 | }, 683 | "ssl-cert": { 684 | "gid": 114, 685 | "members": [ 686 | "postgres" 687 | ] 688 | }, 689 | "staff": { 690 | "gid": 50, 691 | "members": [] 692 | }, 693 | "sudo": { 694 | "gid": 27, 695 | "members": [ 696 | "ubuntu" 697 | ] 698 | }, 699 | "sys": { 700 | "gid": 3, 701 | "members": [] 702 | }, 703 | "syslog": { 704 | "gid": 104, 705 | "members": [] 706 | }, 707 | "tape": { 708 | "gid": 26, 709 | "members": [] 710 | }, 711 | "tty": { 712 | "gid": 5, 713 | "members": [] 714 | }, 715 | "ubuntu": { 716 | "gid": 1001, 717 | "members": [] 718 | }, 719 | "users": { 720 | "gid": 100, 721 | "members": [] 722 | }, 723 | "utmp": { 724 | "gid": 43, 725 | "members": [] 726 | }, 727 | "uucp": { 728 | "gid": 10, 729 | "members": [] 730 | }, 731 | "vagrant": { 732 | "gid": 1000, 733 | "members": [] 734 | }, 735 | "vboxsf": { 736 | "gid": 111, 737 | "members": [] 738 | }, 739 | "video": { 740 | "gid": 44, 741 | "members": [ 742 | "ubuntu" 743 | ] 744 | }, 745 | "voice": { 746 | "gid": 22, 747 | "members": [] 748 | }, 749 | "www-data": { 750 | "gid": 33, 751 | "members": [] 752 | } 753 | }, 754 | "passwd": { 755 | "backup": { 756 | "dir": "/var/backups", 757 | "gecos": "backup", 758 | "gid": 34, 759 | "shell": "/usr/sbin/nologin", 760 | "uid": 34 761 | }, 762 | "bin": { 763 | "dir": "/bin", 764 | "gecos": "bin", 765 | "gid": 2, 766 | "shell": "/usr/sbin/nologin", 767 | "uid": 2 768 | }, 769 | "daemon": { 770 | "dir": "/usr/sbin", 771 | "gecos": "daemon", 772 | "gid": 1, 773 | "shell": "/usr/sbin/nologin", 774 | "uid": 1 775 | }, 776 | "games": { 777 | "dir": "/usr/games", 778 | "gecos": "games", 779 | "gid": 60, 780 | "shell": "/usr/sbin/nologin", 781 | "uid": 5 782 | }, 783 | "gnats": { 784 | "dir": "/var/lib/gnats", 785 | "gecos": "Gnats Bug-Reporting System (admin)", 786 | "gid": 41, 787 | "shell": "/usr/sbin/nologin", 788 | "uid": 41 789 | }, 790 | "irc": { 791 | "dir": "/var/run/ircd", 792 | "gecos": "ircd", 793 | "gid": 39, 794 | "shell": "/usr/sbin/nologin", 795 | "uid": 39 796 | }, 797 | "landscape": { 798 | "dir": "/var/lib/landscape", 799 | "gecos": "", 800 | "gid": 109, 801 | "shell": "/bin/false", 802 | "uid": 103 803 | }, 804 | "libuuid": { 805 | "dir": "/var/lib/libuuid", 806 | "gecos": "", 807 | "gid": 101, 808 | "shell": "", 809 | "uid": 100 810 | }, 811 | "list": { 812 | "dir": "/var/list", 813 | "gecos": "Mailing List Manager", 814 | "gid": 38, 815 | "shell": "/usr/sbin/nologin", 816 | "uid": 38 817 | }, 818 | "lp": { 819 | "dir": "/var/spool/lpd", 820 | "gecos": "lp", 821 | "gid": 7, 822 | "shell": "/usr/sbin/nologin", 823 | "uid": 7 824 | }, 825 | "mail": { 826 | "dir": "/var/mail", 827 | "gecos": "mail", 828 | "gid": 8, 829 | "shell": "/usr/sbin/nologin", 830 | "uid": 8 831 | }, 832 | "man": { 833 | "dir": "/var/cache/man", 834 | "gecos": "man", 835 | "gid": 12, 836 | "shell": "/usr/sbin/nologin", 837 | "uid": 6 838 | }, 839 | "memcache": { 840 | "dir": "/nonexistent", 841 | "gecos": "Memcached,,,", 842 | "gid": 113, 843 | "shell": "/bin/false", 844 | "uid": 108 845 | }, 846 | "messagebus": { 847 | "dir": "/var/run/dbus", 848 | "gecos": "", 849 | "gid": 106, 850 | "shell": "/bin/false", 851 | "uid": 102 852 | }, 853 | "news": { 854 | "dir": "/var/spool/news", 855 | "gecos": "news", 856 | "gid": 9, 857 | "shell": "/usr/sbin/nologin", 858 | "uid": 9 859 | }, 860 | "nobody": { 861 | "dir": "/nonexistent", 862 | "gecos": "nobody", 863 | "gid": 65534, 864 | "shell": "/usr/sbin/nologin", 865 | "uid": 65534 866 | }, 867 | "pollinate": { 868 | "dir": "/var/cache/pollinate", 869 | "gecos": "", 870 | "gid": 1, 871 | "shell": "/bin/false", 872 | "uid": 105 873 | }, 874 | "postgres": { 875 | "dir": "/var/lib/postgresql", 876 | "gecos": "PostgreSQL administrator,,,", 877 | "gid": 115, 878 | "shell": "/bin/bash", 879 | "uid": 109 880 | }, 881 | "proxy": { 882 | "dir": "/bin", 883 | "gecos": "proxy", 884 | "gid": 13, 885 | "shell": "/usr/sbin/nologin", 886 | "uid": 13 887 | }, 888 | "puppet": { 889 | "dir": "/var/lib/puppet", 890 | "gecos": "Puppet configuration management daemon,,,", 891 | "gid": 112, 892 | "shell": "/bin/false", 893 | "uid": 107 894 | }, 895 | "root": { 896 | "dir": "/root", 897 | "gecos": "root", 898 | "gid": 0, 899 | "shell": "/bin/bash", 900 | "uid": 0 901 | }, 902 | "sshd": { 903 | "dir": "/var/run/sshd", 904 | "gecos": "", 905 | "gid": 65534, 906 | "shell": "/usr/sbin/nologin", 907 | "uid": 104 908 | }, 909 | "statd": { 910 | "dir": "/var/lib/nfs", 911 | "gecos": "", 912 | "gid": 65534, 913 | "shell": "/bin/false", 914 | "uid": 106 915 | }, 916 | "sync": { 917 | "dir": "/bin", 918 | "gecos": "sync", 919 | "gid": 65534, 920 | "shell": "/bin/sync", 921 | "uid": 4 922 | }, 923 | "sys": { 924 | "dir": "/dev", 925 | "gecos": "sys", 926 | "gid": 3, 927 | "shell": "/usr/sbin/nologin", 928 | "uid": 3 929 | }, 930 | "syslog": { 931 | "dir": "/home/syslog", 932 | "gecos": "", 933 | "gid": 104, 934 | "shell": "/bin/false", 935 | "uid": 101 936 | }, 937 | "ubuntu": { 938 | "dir": "/home/ubuntu", 939 | "gecos": "Ubuntu", 940 | "gid": 1001, 941 | "shell": "/bin/bash", 942 | "uid": 1001 943 | }, 944 | "uucp": { 945 | "dir": "/var/spool/uucp", 946 | "gecos": "uucp", 947 | "gid": 10, 948 | "shell": "/usr/sbin/nologin", 949 | "uid": 10 950 | }, 951 | "vagrant": { 952 | "dir": "/home/vagrant", 953 | "gecos": "", 954 | "gid": 1000, 955 | "shell": "/bin/bash", 956 | "uid": 1000 957 | }, 958 | "www-data": { 959 | "dir": "/var/www", 960 | "gecos": "www-data", 961 | "gid": 33, 962 | "shell": "/usr/sbin/nologin", 963 | "uid": 33 964 | } 965 | } 966 | }, 967 | "ohai_filesystem": { 968 | "/dev/disk/by-uuid/6e008225-f9bd-4b27-ad0d-e7d323b7a780": { 969 | "fs_type": "ext4", 970 | "mount": "/", 971 | "mount_options": [ 972 | "rw", 973 | "relatime", 974 | "data=ordered" 975 | ] 976 | }, 977 | "/dev/sda1": { 978 | "fs_type": "ext4", 979 | "kb_available": "38012724", 980 | "kb_size": "41251136", 981 | "kb_used": "1502500", 982 | "label": "cloudimg-rootfs", 983 | "mount": "/", 984 | "mount_options": [ 985 | "rw" 986 | ], 987 | "percent_used": "4%", 988 | "uuid": "6e008225-f9bd-4b27-ad0d-e7d323b7a780" 989 | }, 990 | "devpts": { 991 | "fs_type": "devpts", 992 | "mount": "/dev/pts", 993 | "mount_options": [ 994 | "rw", 995 | "noexec", 996 | "nosuid", 997 | "gid=5", 998 | "mode=0620" 999 | ] 1000 | }, 1001 | "none": { 1002 | "fs_type": "pstore", 1003 | "kb_available": "102400", 1004 | "kb_size": "102400", 1005 | "kb_used": "0", 1006 | "mount": "/sys/fs/pstore", 1007 | "mount_options": [ 1008 | "rw" 1009 | ], 1010 | "percent_used": "0%" 1011 | }, 1012 | "proc": { 1013 | "fs_type": "proc", 1014 | "mount": "/proc", 1015 | "mount_options": [ 1016 | "rw", 1017 | "noexec", 1018 | "nosuid", 1019 | "nodev" 1020 | ] 1021 | }, 1022 | "rootfs": { 1023 | "fs_type": "rootfs", 1024 | "mount": "/", 1025 | "mount_options": [ 1026 | "rw" 1027 | ] 1028 | }, 1029 | "rpc_pipefs": { 1030 | "fs_type": "rpc_pipefs", 1031 | "mount": "/run/rpc_pipefs", 1032 | "mount_options": [ 1033 | "rw" 1034 | ] 1035 | }, 1036 | "sysfs": { 1037 | "fs_type": "sysfs", 1038 | "mount": "/sys", 1039 | "mount_options": [ 1040 | "rw", 1041 | "noexec", 1042 | "nosuid", 1043 | "nodev" 1044 | ] 1045 | }, 1046 | "systemd": { 1047 | "fs_type": "cgroup", 1048 | "mount": "/sys/fs/cgroup/systemd", 1049 | "mount_options": [ 1050 | "rw", 1051 | "noexec", 1052 | "nosuid", 1053 | "nodev", 1054 | "none", 1055 | "name=systemd" 1056 | ] 1057 | }, 1058 | "tmpfs": { 1059 | "fs_type": "tmpfs", 1060 | "kb_available": "101416", 1061 | "kb_size": "101788", 1062 | "kb_used": "372", 1063 | "mount": "/run", 1064 | "mount_options": [ 1065 | "rw", 1066 | "noexec", 1067 | "nosuid", 1068 | "size=10%", 1069 | "mode=0755" 1070 | ], 1071 | "percent_used": "1%" 1072 | }, 1073 | "udev": { 1074 | "fs_type": "devtmpfs", 1075 | "kb_available": "503952", 1076 | "kb_size": "503964", 1077 | "kb_used": "12", 1078 | "mount": "/dev", 1079 | "mount_options": [ 1080 | "rw", 1081 | "mode=0755" 1082 | ], 1083 | "percent_used": "1%" 1084 | }, 1085 | "vagrant": { 1086 | "fs_type": "vboxsf", 1087 | "kb_available": "305450008", 1088 | "kb_size": "487385240", 1089 | "kb_used": "181935232", 1090 | "mount": "/vagrant", 1091 | "mount_options": [ 1092 | "uid=1000", 1093 | "gid=1000", 1094 | "rw" 1095 | ], 1096 | "percent_used": "38%" 1097 | } 1098 | }, 1099 | "ohai_fqdn": "vagrant-ubuntu-trusty-64", 1100 | "ohai_hostname": "vagrant-ubuntu-trusty-64", 1101 | "ohai_idletime": "9 minutes 26 seconds", 1102 | "ohai_idletime_seconds": 566, 1103 | "ohai_ipaddress": "10.0.2.15", 1104 | "ohai_kernel": { 1105 | "machine": "x86_64", 1106 | "modules": { 1107 | "ahci": { 1108 | "refcount": "1", 1109 | "size": "25819" 1110 | }, 1111 | "auth_rpcgss": { 1112 | "refcount": "1", 1113 | "size": "59338" 1114 | }, 1115 | "dm_crypt": { 1116 | "refcount": "0", 1117 | "size": "23177" 1118 | }, 1119 | "e1000": { 1120 | "refcount": "0", 1121 | "size": "145174" 1122 | }, 1123 | "fscache": { 1124 | "refcount": "1", 1125 | "size": "63988" 1126 | }, 1127 | "libahci": { 1128 | "refcount": "1", 1129 | "size": "32716" 1130 | }, 1131 | "lockd": { 1132 | "refcount": "2", 1133 | "size": "93977" 1134 | }, 1135 | "nfs": { 1136 | "refcount": "0", 1137 | "size": "236636" 1138 | }, 1139 | "nfs_acl": { 1140 | "refcount": "1", 1141 | "size": "12837" 1142 | }, 1143 | "nfsd": { 1144 | "refcount": "2", 1145 | "size": "280289" 1146 | }, 1147 | "parport": { 1148 | "refcount": "2", 1149 | "size": "42348" 1150 | }, 1151 | "parport_pc": { 1152 | "refcount": "0", 1153 | "size": "32701" 1154 | }, 1155 | "ppdev": { 1156 | "refcount": "0", 1157 | "size": "17671" 1158 | }, 1159 | "psmouse": { 1160 | "refcount": "0", 1161 | "size": "106678" 1162 | }, 1163 | "serio_raw": { 1164 | "refcount": "0", 1165 | "size": "13462" 1166 | }, 1167 | "sunrpc": { 1168 | "refcount": "6", 1169 | "size": "284939" 1170 | }, 1171 | "vboxguest": { 1172 | "refcount": "2", 1173 | "size": "248441" 1174 | }, 1175 | "vboxsf": { 1176 | "refcount": "1", 1177 | "size": "43786" 1178 | } 1179 | }, 1180 | "name": "Linux", 1181 | "os": "GNU/Linux", 1182 | "release": "3.13.0-35-generic", 1183 | "version": "#62-Ubuntu SMP Fri Aug 15 01:58:42 UTC 2014" 1184 | }, 1185 | "ohai_keys": { 1186 | "ssh": { 1187 | "host_dsa_public": "AAAAB3NzaC1kc3MAAACBAJ7d5+Srn6T30...", 1188 | "host_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDK0..." 1189 | } 1190 | }, 1191 | "ohai_languages": { 1192 | "perl": { 1193 | "archname": "x86_64-linux-gnu-thread-multi", 1194 | "version": "5.18.2" 1195 | }, 1196 | "python": { 1197 | "builddate": "Mar 22 2014, 22:59:56", 1198 | "version": "2.7.6" 1199 | }, 1200 | "ruby": { 1201 | "bin_dir": "/usr/bin", 1202 | "gem_bin": "/usr/bin/gem1.9.1", 1203 | "gems_dir": "/var/lib/gems/1.9.1", 1204 | "host": "x86_64-pc-linux-gnu", 1205 | "host_cpu": "x86_64", 1206 | "host_os": "linux-gnu", 1207 | "host_vendor": "pc", 1208 | "platform": "x86_64-linux", 1209 | "release_date": "2013-11-22", 1210 | "ruby_bin": "/usr/bin/ruby1.9.1", 1211 | "target": "x86_64-pc-linux-gnu", 1212 | "target_cpu": "x86_64", 1213 | "target_os": "linux", 1214 | "target_vendor": "pc", 1215 | "version": "1.9.3" 1216 | } 1217 | }, 1218 | "ohai_lsb": { 1219 | "codename": "trusty", 1220 | "description": "Ubuntu 14.04.1 LTS", 1221 | "id": "Ubuntu", 1222 | "release": "14.04" 1223 | }, 1224 | "ohai_macaddress": "08:00:27:FE:1E:4D", 1225 | "ohai_memory": { 1226 | "active": "548644kB", 1227 | "anon_pages": "212420kB", 1228 | "bounce": "0kB", 1229 | "buffers": "60088kB", 1230 | "cached": "551148kB", 1231 | "commit_limit": "508928kB", 1232 | "committed_as": "488724kB", 1233 | "dirty": "100kB", 1234 | "free": "91524kB", 1235 | "inactive": "275012kB", 1236 | "mapped": "29856kB", 1237 | "nfs_unstable": "0kB", 1238 | "page_tables": "6036kB", 1239 | "slab": "82572kB", 1240 | "slab_reclaimable": "72836kB", 1241 | "slab_unreclaim": "9736kB", 1242 | "swap": { 1243 | "cached": "0kB", 1244 | "free": "0kB", 1245 | "total": "0kB" 1246 | }, 1247 | "total": "1017856kB", 1248 | "vmalloc_chunk": "34359715831kB", 1249 | "vmalloc_total": "34359738367kB", 1250 | "vmalloc_used": "18700kB", 1251 | "writeback": "0kB" 1252 | }, 1253 | "ohai_network": { 1254 | "default_gateway": "10.0.2.2", 1255 | "default_interface": "eth0", 1256 | "interfaces": { 1257 | "eth0": { 1258 | "addresses": { 1259 | "08:00:27:FE:1E:4D": { 1260 | "family": "lladdr" 1261 | }, 1262 | "10.0.2.15": { 1263 | "broadcast": "10.0.2.255", 1264 | "family": "inet", 1265 | "netmask": "255.255.255.0", 1266 | "prefixlen": "24", 1267 | "scope": "Global" 1268 | }, 1269 | "fe80::a00:27ff:fefe:1e4d": { 1270 | "family": "inet6", 1271 | "prefixlen": "64", 1272 | "scope": "Link" 1273 | } 1274 | }, 1275 | "arp": { 1276 | "10.0.2.2": "52:54:00:12:35:02", 1277 | "10.0.2.3": "52:54:00:12:35:03" 1278 | }, 1279 | "encapsulation": "Ethernet", 1280 | "flags": [ 1281 | "BROADCAST", 1282 | "MULTICAST", 1283 | "UP", 1284 | "LOWER_UP" 1285 | ], 1286 | "mtu": "1500", 1287 | "number": "0", 1288 | "routes": [ 1289 | { 1290 | "destination": "default", 1291 | "family": "inet", 1292 | "via": "10.0.2.2" 1293 | }, 1294 | { 1295 | "destination": "10.0.2.0/24", 1296 | "family": "inet", 1297 | "proto": "kernel", 1298 | "scope": "link", 1299 | "src": "10.0.2.15" 1300 | }, 1301 | { 1302 | "destination": "fe80::/64", 1303 | "family": "inet6", 1304 | "metric": "256", 1305 | "proto": "kernel" 1306 | } 1307 | ], 1308 | "state": "up", 1309 | "type": "eth" 1310 | }, 1311 | "eth1": { 1312 | "addresses": { 1313 | "08:00:27:23:AE:8E": { 1314 | "family": "lladdr" 1315 | }, 1316 | "192.168.33.10": { 1317 | "broadcast": "192.168.33.255", 1318 | "family": "inet", 1319 | "netmask": "255.255.255.0", 1320 | "prefixlen": "24", 1321 | "scope": "Global" 1322 | }, 1323 | "fe80::a00:27ff:fe23:ae8e": { 1324 | "family": "inet6", 1325 | "prefixlen": "64", 1326 | "scope": "Link" 1327 | } 1328 | }, 1329 | "arp": { 1330 | "192.168.33.1": "0a:00:27:00:00:00" 1331 | }, 1332 | "encapsulation": "Ethernet", 1333 | "flags": [ 1334 | "BROADCAST", 1335 | "MULTICAST", 1336 | "UP", 1337 | "LOWER_UP" 1338 | ], 1339 | "mtu": "1500", 1340 | "number": "1", 1341 | "routes": [ 1342 | { 1343 | "destination": "192.168.33.0/24", 1344 | "family": "inet", 1345 | "proto": "kernel", 1346 | "scope": "link", 1347 | "src": "192.168.33.10" 1348 | }, 1349 | { 1350 | "destination": "fe80::/64", 1351 | "family": "inet6", 1352 | "metric": "256", 1353 | "proto": "kernel" 1354 | } 1355 | ], 1356 | "state": "up", 1357 | "type": "eth" 1358 | }, 1359 | "lo": { 1360 | "addresses": { 1361 | "127.0.0.1": { 1362 | "family": "inet", 1363 | "netmask": "255.0.0.0", 1364 | "prefixlen": "8", 1365 | "scope": "Node" 1366 | }, 1367 | "::1": { 1368 | "family": "inet6", 1369 | "prefixlen": "128", 1370 | "scope": "Node" 1371 | } 1372 | }, 1373 | "encapsulation": "Loopback", 1374 | "flags": [ 1375 | "LOOPBACK", 1376 | "UP", 1377 | "LOWER_UP" 1378 | ], 1379 | "mtu": "65536", 1380 | "state": "unknown" 1381 | } 1382 | }, 1383 | "listeners": { 1384 | "tcp": { 1385 | "111": { 1386 | "address": "*", 1387 | "pid": 0 1388 | }, 1389 | "11211": { 1390 | "address": "127.0.0.1", 1391 | "pid": 0 1392 | }, 1393 | "22": { 1394 | "address": "*", 1395 | "name": "gunicorn: maste", 1396 | "pid": 0 1397 | }, 1398 | "443": { 1399 | "address": "*", 1400 | "name": "", 1401 | "pid": 0 1402 | }, 1403 | "49788": { 1404 | "address": "*", 1405 | "name": "gunicorn: maste", 1406 | "pid": 0 1407 | }, 1408 | "50583": { 1409 | "address": "*", 1410 | "name": "", 1411 | "pid": 0 1412 | }, 1413 | "5432": { 1414 | "address": "127.0.0.1", 1415 | "name": "", 1416 | "pid": 0 1417 | }, 1418 | "80": { 1419 | "address": "*", 1420 | "name": "", 1421 | "pid": 0 1422 | }, 1423 | "8000": { 1424 | "address": "127.0.0.1", 1425 | "name": "gunicorn: maste", 1426 | "pid": 9601 1427 | } 1428 | } 1429 | } 1430 | }, 1431 | "ohai_ohai_time": 1418007743.6774073, 1432 | "ohai_os": "linux", 1433 | "ohai_os_version": "3.13.0-35-generic", 1434 | "ohai_platform": "ubuntu", 1435 | "ohai_platform_family": "debian", 1436 | "ohai_platform_version": "14.04", 1437 | "ohai_uptime": "10 minutes 37 seconds", 1438 | "ohai_uptime_seconds": 637, 1439 | "ohai_virtualization": { 1440 | "role": "guest", 1441 | "system": "vbox" 1442 | } 1443 | } 1444 | 1445 | 1446 | .. _facter: https://docs.puppetlabs.com/facter/ 1447 | 1448 | .. _ohai: https://docs.chef.io/ohai.html 1449 | --------------------------------------------------------------------------------