1. Peter Ward
  2. ansible-inheritance

Overview

HTTPS SSH
$ ansible --version
ansible 1.9.6
$ ansible-playbook site.yml
PLAY [localhost] ************************************************************** 

GATHERING FACTS *************************************************************** 
ok: [localhost]

TASK: [base | debug var=message] ********************************************** 
ok: [localhost] => {
    "var": {
        "message": "foo should see this"
    }
}

TASK: [base | debug var=message] ********************************************** 
ok: [localhost] => {
    "var": {
        "message": "message for bar only"
    }
}

PLAY RECAP ******************************************************************** 
localhost                  : ok=3    changed=0    unreachable=0    failed=0   


$ ansible --version
ansible 2.0.1.0
$ ansible-playbook site.yml

PLAY ***************************************************************************

TASK [setup] *******************************************************************
ok: [localhost]

TASK [base : debug] ************************************************************
ok: [localhost] => {
    "message": "message for bar only"
}

TASK [base : debug] ************************************************************
ok: [localhost] => {
    "message": "message for bar only"
}

PLAY RECAP *********************************************************************
localhost                  : ok=3    changed=0    unreachable=0    failed=0