Skip to content

An ansible role to install bashmount from its git repository

Notifications You must be signed in to change notification settings

REve-Workshop/ansible-bashmount-role

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Role for Bashmount Installation

WARNING

Do not rely on the code blindly, it as not been tested yet.

Introduction

This Ansible role allows to install or update the bashmount application.

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.

Installation

Add this repository as a role directory inside an existing ansible project.

Usage

The following variable can be overloaded in your playbook:

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