Ansible Role for Bashmount Installation
Do not rely on the code blindly, it as not been tested yet. WARNING
This Ansible role allows to install or update the bashmount application. Introduction
This role expects:
- All bashmount dependencies to be present on the system.
- The target to have an access to the repositories containing the sources of mu.
Add this repository as a role directory inside an existing ansible project. Installation
The following variable can be overloaded in your playbook: Usage
repository
, the repository of bashmount. [Default: https://github.com/jamielinux/bashmount.git]working_dir
, the working directory where to clone the repository. [Default: /usr/local/src/bashmount]
The role is to be executed as the root user on the target hosts.
Example playbook
--- - host: all gather_facts: False tasks: - name: Deploy bashmount include_role: name: bashmount vars: repository: https://github.com/montaropdf/my-bashmount-fork.git working_dir: /var/lib/src/git_repos/bashmount