---
# System prepended metadata

title: ansible ways of skinning a task

---

# ansible ways of skinning a task
Note that FQCN aspect is ignored for the sake of simplicity.

```yaml
# 0
- debug:
    msg: foo
# 1
- action: debug
  args:
    msg: foo
- local_action: debug
  args:
    msg: foo
# 2
- action:
    module: debug
    msg: foo
- local_action:
    module: debug
    msg: foo
```

# Discouraged:
```yaml
# 3 (ok for adhoc)
- debug: msg=foo
# 4
- action: debug msg=foo
- local_action: debug msg=foo
# 5
- action: module=debug msg=foo
- local_action: module=debug msg=foo
# 6
- action: msg=foo
  args:
    module: debug
- local_action: msg=foo
  args:
    module: debug
```
