Notes of Nafi
  • Hello! 🖐
  • Cloud
    • AWS
    • GCP
    • Ansible
      • Desktop configuration
  • Web Dev
    • husky
    • Web Cache/HTTP Caching Headers
    • package manger
    • Webhook
    • ESLint
    • Back End
      • node.js
    • Front End
      • React
        • Lint
        • Next.js
      • Angular
      • Flutter
        • cubit
        • flutter
        • provider
      • Tailwind CSS
      • CSS
    • Lerna
    • nginx
  • Software Architecture
  • Startup
    • Legal Issues
  • Linux
    • Misc problems & solutions
    • CTF Tools
    • Network Tools
    • systemctl
    • terminal
      • dotfiles
      • tmux
      • zsh
      • command line tools
    • Git
      • merging strategy
      • git workflows
      • basics
  • Programming Language
    • JavaScript
      • misc
      • draft
    • C++
  • Google Docs
    • Spreadsheet
  • Design
  • Windows
    • Terminal
  • Similar websites
Powered by GitBook
On this page
  • ansible-pull
  • Links
  • Official Doc
  1. Cloud

Ansible

PreviousGCPNextDesktop configuration

Last updated 3 years ago

ansible-pull

ansible-pull comes with ansible installation. No additional installation is required.

ansible-pull allows machine's to 'pull' ansible-playbooks from a git server & then run them locally.

No need to maintain a central server. So, practically no single point of failure if GitHub is used

In a general ansible scenario,

Here, ansible server centrally manages 4 machines. If one of the machine is unreachable for some reasons, ansible throws an error. But, what if you want your machine to be offline for a certain period of time? And only want them to run ansible-playbook in your specified time or time gaps?

Here comes ansible-pull

Machines pull ansible-playbook from git server and run them locally, You can create cron jobs for specified users to have better control over ansible.

Links

Official Doc

I have a on managing workstations with ansible-pull, do check it out

- Easy tutorial series

- Problem to my solution

all figures are created by me with

project
Get a variable with host username
Getting started with Ansible, LearnLinuxTV
Desktop config with Ansible, LearnLinuxTV
substring in when condition
Edit current user's shell with Ansible
Playbook variables
Git
Include task module
file module
lookup
FigJam
normal ansible scenario
typical ansible-pull scenario