heathdbrown / research

Things to look at it or that interest me.
0 stars 0 forks source link

Tips for Ansible Playbook Development #9

Closed heathdbrown closed 1 year ago

heathdbrown commented 3 years ago

Read an article that covered some items on performing debugging tasks in Ansible.

https://zwischenzugs.com/2021/08/27/five-ansible-techniques-i-wish-id-known-earlier/amp/

  1. Use --step to get to a task faster
  2. Use inline logging in playbooks for variables
  3. Use ansible-console for interacting with modules
  4. Use ansible-lint to review playbooks
  5. Interact with the ansible debugger on failure and python
heathdbrown commented 3 years ago

Issue with testing ansible-console

When testing out the ansible-console I ran into the following issues:

$pip list | grep ansible
ansible      4.4.0
ansible-core 2.11.4

$python --version
Python 3.8.10

Summary

Links

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Do not attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our contributing guide.

github-actions[bot] commented 1 year ago

This issue has been automatically closed due to lack of activity. In an effort to reduce noise, please do not comment any further. Note that the core maintainers may elect to reopen this issue at a later date if deemed necessary.