Skip to content

Latest commit

 

History

History
executable file
·
34 lines (24 loc) · 1.14 KB

README.md

File metadata and controls

executable file
·
34 lines (24 loc) · 1.14 KB

Desktop Configuration

This repository configures the user's machine with Ansible. Scripts on this repo were tested on the following OS:

  • Ubuntu 20.04

Getting Started

This repository, in addition to the roles and playbooks used by Ansible, there is also a Vagrantfile that has the purpose of creating a test environment to run Ansible scripts.

Prerequisites

In order to run Vagrantfile it is necessary to have VirtualBox and Vagrant installed. There is a possibility to use other virtualizers, but this can lead to the change of Vagrantfile.

Installing Ansible

Being on VM or not, it's necessary to install Ansible. Run the script "install_ansible.sh" on this repo:

$ bash install_ansible.sh

Running Ansible

To run the playbook if the password isn't on ansible_sudo_pass variable, on inventory/hosts:

ansible-playbook localhost playbooks/main.yml -K

If the password is present on hosts:

ansible-playbook localhost playbooks/main.yml