Skip to content

ssoriche/ansible-workspace

develop
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

ansible-workspace

This project is being created to mitigate frustration when starting work in a new environment. The idea is these playbooks and roles are used to maintain various systems ranging from local workstations where full control is allowed, to remote servers on customer premises with only ssh access.

Roles

common

Small tasks that don't fit into their own role and are useful to other roles and playbooks.

has_command

Checks /usr/local/bin for the command contained in the command variable and sets the fact has_{{ command }} on whether the command exists or not.

    - name: check nvim
      include_role:
        name: common
        tasks_from: has_command
      vars:
        - command: nvim

If nvim exists in /usr/local/bin, has_nvim will be true.

git_local_checkout

This role connects to a remote git repository and checks it out into a local work directory. Projects like Anyenv require a git clone in order to install. Systems without Internet access, or limited access, will not be able to clone the repository. Using git_local_checkout, Ansible can be configured to copy the local checkout to the remote server.

About

Ansible roles and playbooks to provision and maintain command line workspaces.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published