Skip to main content

Posts

Showing posts with the label inventory

Ansible commands

Ansible Commands: ansible all -m ping -u mysql -k ansible-playbook mysql8.yml -k -vvv ansible-playbook mysql8.yml -vvv ansible-galaxy - command to manage Ansible roles in shared repostories ansible-config - View, edit, and manage ansible configuration ansible-console - a REPL that allows for running ad-hoc tasks against a chosen inventory ansible-doc - displays  information  on  modules  installed in Ansible libraries.  It displays a terse listing of plugins and their short descriptions, provides a printout of their DOCUMENTATION strings ansible-inventory - used to display or dump the configured inventory as Ansible sees it ansible-playbook - the tool to run Ansible playbooks, which are a configuration and multinode deployment system. ansible-pull - is  used  to up a remote copy of ansible on each managed node, each set to run via cron and update playbook source via a source repository.  This inverts the default push architecture of ansi...