geerlingguy / geerlingguy/ansible-for-devops

cli execution of service module gives 700 lines of output

Open
#497 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
9.9k
Forks
3.8k
PR merge metrics
No merged PRs in 30d

Description

## Chapter 3

ansible multi -b -m service -a "name=chronyd state=started enabled=yes"

> 717 lines of output

```
❯ ansible multi -b -m service -a "name=chronyd state=started enabled=yes" | tail -n 20
"TTYVTDisallocate": "no",
"TasksAccounting": "yes",
"TasksCurrent": "1",
"TasksMax": "2748",
"TimeoutStartUSec": "1min 30s",
"TimeoutStopUSec": "1min 30s",
"TimerSlackNSec": "50000",
"Transient": "no",
"Type": "forking",
"UID": "[not set]",
"UMask": "0022",
"UnitFilePreset": "enabled",
"UnitFileState": "enabled",
"UtmpMode": "init",
"WantedBy": "multi-user.target",
"WatchdogTimestamp": "Thu 2022-09-01 07:38:47 UTC",
"WatchdogTimestampMonotonic": "4737371",
"WatchdogUSec": "0"
}
}

❯ ansible multi -b -m service -a "name=chronyd state=started enabled=yes" | wc -l
717

```

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the reported command: ansible multi -b -m service -a "name=chronyd state=started enabled=yes", then inspect why it produces 717 lines of output. The issue names no file or test and does not define the expected output, so completion would require confirming the intended behavior before making a change.

Written by the indexing model from the issue text.

Assessment

Tech stack
ansible
Domain
cli, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.