|
|
|
@ -31,7 +31,7 @@ things in your playbooks.
|
|
|
|
|
- ansible.builtin.service:
|
|
|
|
|
name: foo
|
|
|
|
|
state: started
|
|
|
|
|
enabled: yes
|
|
|
|
|
enabled: true
|
|
|
|
|
|
|
|
|
|
If you think the service may not be started, the best thing to do is request it to be started. If the service fails to start, Ansible
|
|
|
|
|
will yell appropriately. (This should not be confused with whether the service is doing something functional, which we'll show more about how to
|
|
|
|
@ -55,7 +55,7 @@ want certain steps to execute in normal mode even when the ``--check`` flag is u
|
|
|
|
|
|
|
|
|
|
tasks:
|
|
|
|
|
- ansible.builtin.script: verify.sh
|
|
|
|
|
check_mode: no
|
|
|
|
|
check_mode: false
|
|
|
|
|
|
|
|
|
|
Modules That Are Useful for Testing
|
|
|
|
|
```````````````````````````````````
|
|
|
|
|