From the course: Ansible: From Basics to Guru by Pearson

Unlock this course with a free trial

Join today to access over 25,200 courses taught by industry experts.

ansible-navigator configuration

ansible-navigator configuration

I'd like to tell you a little bit more about the Ansible Navigator configuration. So how can you work with that? Well, as we already know, Ansible Navigator can be configured by creating an ansible-navigator.yaml file. And if it is in the current project directory, it has the highest priority, or you put it in your home directory as a hidden file, .ansible-navigator.yaml. Now in this file you can put so many settings. And the nice thing I wanted to tell you about is that you can use AnsibleNavigatorSettings minus minus sample redirected to a file and that will generate a sample file with example settings. Now I would not advise to write it directly to an AnsibleNavigator.yaml. I would advise to write it to a file with a different name. Now when you create this file, you should know that you cannot write the output to AnsibleNavigator.yaml in the current directory. So you must use a different file name and move it from there. And you should check it out and consider a couple of useful…

Contents