Code Monkey home page Code Monkey logo

ansible-mini's Introduction

ansible-mini

How to use it

Requirement

ansible-galaxy install -r requirements.yml

Playbook for the load balancer

ansible-playbook site.yml -i inventory/mini --extra-vars "ansible_become_pass=XXX"

Use --ask-become-pass or ansible_become_pass

Playbook for the backend(s)

ansible-playbook backend.yml -i inventory/first --extra-vars "ansible_become_pass=XXX"

Playbook to launch only one step

ansible-playbook -T1000 -e step=provisionning/hello.yml step.yml

Playbook to launch only one task

ansible-playbook -T1000 -i inventory/fifth -e step=provisionning/docker/hello.yml task.yml

Launch partial part of playbook

ansible-playbook -T1000 --ask-become-pass -i inventory/nuc8 provisionning/lxd.yml --start-at-task="Import preseed"

Remove socket activated service

ansible-playbook -v -T1000 -i inventory/first -e servicename=registry-docker.service -e step=provisionning/tasks/service_remover.yml task.yml ansible-playbook -v -T1000 -i inventory/first -e servicename=registry-proxy.service -e step=provisionning/tasks/service_remover.yml task.yml ansible-playbook -v -T1000 -i inventory/first -e servicename=registry-proxy.socket -e step=provisionning/tasks/service_remover.yml task.yml

Prerequisite :

Ansible 2.9.6

Ubuntu server 18.04.1 amd64 Ubuntu server 20.04 amd64 Ubuntu Ubuntu 19.10.1 arm64 Raspbian 19.10 arm64 Ubuntu server 22.04 amd64

Not under version control :

Define a valid ssh connection in a file inventory/mini

Import key file here provisionning/templates/private_key

Copy a backup here provisionning/letsencrypt.tgz

Generate a openvpn config (pki/...) provisionning/openvpn.tar

Not automated

Upload your last crontab backup and then copy the machine key to https://gitlab.com/profile/keys

Change miniflux password (admin/test123) and upload your last opml backup

Change qbittorent password (admin/adminadmin)

Change /home/pascal/vnc/passwd

Import dashboard for mega-xxl-autocomplete

Change portainer key

TODO:

Git not working with in https ansible

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.