irixjp.role_example_hello

This role is an example of using Ansible. You can use this for training and practice.

How to Use:

- import_role:
    name: irixjp.role_example_hello

Output:

TASK [debug] *******************************
ok: [localhost] => {
    "msg": "Hello"
}

This role includes a custom module called sample_get_locale, which retrieves your operating system's locale setting.

Example Usage:

---
- import_role:
    name: irixjp.role_example_hello

- name: get locale
  sample_get_locale:
  register: ret

- debug: var=ret

Output:

TASK [irixjp.role_example_hello : say hello! (en_US.UTF-8)] ****
ok: [node-1] => {
    "msg": "Hello"
}

TASK [get locale] **********************************************
ok: [node-1]

TASK [debug] ***************************************************
ok: [node-1] => {
    "ret": {
        "changed": false,
        "failed": false,
        "locale": "en_US.UTF-8"
    }
}
Informazioni sul progetto

This is a sample role that shows word hello by your language

Installa
ansible-galaxy install irixjp.role_example_hello
Licenza
Unknown
Download
5k
Proprietario