So you might be interested running ansible to configure your local machine. In this article, I’m going to show you the minimum steps that need to install _Vim _ using Ansible on an Ubuntu host machine.
- Install latest Ansible version from apt
-
Create a folder (let’s call this “ansible”) under home directory
-
Create a file called ‘inventory‘ under the new folder and put following content in the file
- Create a file called ‘vim.yml‘ under the new folder and put following content in the vim.yml file
- Open terminal inside the folder and type
_-K _To ask for password
References:
- Intro to Playbooks, http://docs.ansible.com/ansible/playbooks_intro.html#intro-to-playbooks
- Running ansible playbook in localhost, http://ansible.pickle.io/post/86598332429/running-ansible-playbook-in-localhost