• Stars
    star
    113
  • Rank 310,115 (Top 7 %)
  • Language
    Shell
  • License
    Apache License 2.0
  • Created over 9 years ago
  • Updated almost 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Ansible without requirements to be installed (for pull-mode)

Self-contained Ansible distribution

Ansible package with required python modules. No need to install, just download, unpack and use. The main idea of this package is to run Ansible playbooks on local machine.

The distribution contains only ansible-base. The extra dependencies will need to be installed manually.

Changelog

All notable changes to this project are documented in the file CHANGELOG.md

How to install and use

Latest version of portable-ansible tarball (.tar.bz2) is available on Releases page https://github.com/ownport/portable-ansible/releases

wget https://github.com/ownport/portable-ansible/releases/download/<version>/portable-ansible-<version>-py3.tar.bz2 \
      -O ansible.tar.bz2

tar -xjf ansible.tar.bz2

python3 ansible localhost -m ping
 [WARNING]: provided hosts list is empty, only localhost is available

localhost | SUCCESS => {
    "changed": false,
    "ping": "pong"
}

Hints

If you need to run ansible playbooks, after having extracted the tarball contents run next commands to create aliases to portable ansible directory. In the examples below portable-ansible installed in /opt directory

python3 ansible-playbook playbook.yml

To have all the ansible commands, run:

for l in config console doc galaxy inventory playbook pull vault;do
  ln -s ansible ansible-$l
done

Supporting additional python packages

Install python packages into ansible/extras directory

pip3 install -t ansible/extras <package>

or

pip3 install -t ansible/extras -r requirements.txt

Instead of installing the python packages to ansible/extras, you can also install them in user directory to be available for ansible:

pip3 install --user -r requirements.txt

For developers

Please check this guideline

References

  • ansible/ansible Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy. Avoid writing scripts or custom code to deploy and update your applicationsโ€” automate in a language that approaches plain English, using SSH, with no agents to install on remote systems. http://ansible.com/
  • ansible/ansible-modules-core Ansible modules - these modules ship with ansible
  • ansible/ansible-modules-extras Ansible extra modules - these modules ship with ansible
  • ansible-pull

More Repositories

1

aria2c-as-a-service

The collection of scripts and tools for running aria2c as a service for local install
Python
14
star
2

scrapy-dblite

Simple library for storing Scrapy Items in sqlite database
Python
12
star
3

kvlite

key-value database wrapper for SQL database (MySQL, SQLite)
CSS
9
star
4

docker-documize

Docker image for Documize, essential tools and processes for managing business documents and know-how, https://documize.com/
Shell
7
star
5

local-ci

Simple CI tool for building and testing projects in different environments (experimental project)
Python
6
star
6

m3ua-unbundle

Python script allows to unbundle M3UA messages from IP packet
Python
5
star
7

pyservice

simple library to make service on python more easy
Python
4
star
8

lenovo-100s-11by-linux

Guides for installation linux on Lenovo 100s 11by
3
star
9

dtguess

Python library for data type guessing
Python
3
star
10

wireshark-pytools

Scripts collection for working with wireshark
Python
3
star
11

objectstore

Simple storage for file-based objects
Python
3
star
12

jltools

Tools for working with data in jsonline files
Python
2
star
13

my-notes

Notes about different topics
Python
2
star
14

filetools

Tools for collecting and managing of files metadata
Python
2
star
15

pyactors

Simple implementation actors on python
Python
2
star
16

sitemap-parser

Python script for parsing sitemaps and sitemap indexes
Python
2
star
17

code-inspector

The library and scripts for getting information about python code and extracting code blocks
Python
1
star
18

webpage

The collection of tools for making webpage archive
Python
1
star
19

alpine-pkg-mirror

Alpine package mirror
Python
1
star
20

dockerfile-templates

Templates for auto generating dockerfiles
Shell
1
star
21

just-scripts

Just scripts collection
Shell
1
star
22

hortonworks-tools

The collection of tools, scripts for working with Hortonworks (HDP) environment
Python
1
star
23

pysnippets

The collection of python snippets
Python
1
star
24

virtual-machine-images

Virtual Machine Images (tools, scripts, notes,...)
Shell
1
star
25

data-mining

Notes about data mining
1
star
26

notes

Personal notes
Python
1
star
27

pycode

Script for getting details about python code
Python
1
star
28

activestore

Storage that stores file-based objects (content and metadata)
Python
1
star
29

playbook

Playbooks for automation
Python
1
star
30

scrapets

scrapets: scraping snippets
Python
1
star
31

data-generator

Simple service for generating fake data
Python
1
star
32

blogger2pelican

Converter blogger posts to pelican
Python
1
star
33

docker-jupyter

Docker image for Jupyter notebooks, Alpine bases
Shell
1
star
34

docker-data-processing

Docker image with tools for data processing
Shell
1
star
35

datastax-cassandra-deploy

Deployment for DataStax Cassandra
Python
1
star
36

docker-py3-base

Docker image for python3 projects
1
star
37

docker-bookstack

Docker image for a platform to create documentation/wiki content built with PHP & Laravel https://www.bookstackapp.com/
Shell
1
star