Skip to content

kloudkit/ansible-controller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Controller

🎮 Your configurations can stay home

License

Documentation

The image includes a default inventory (/etc/ansible/hosts) named controller that runs on localhost without root privileges.

To use it, copy the following example playbook:

- name: Run something
  gather_facts: false
  hosts: controller

  tasks:
    - name: Just saying hello
      ansible.builtin.debug:
        msg: Hello world! 👋

Run

docker run --rm \
  -v ./playbooks:/workspace \
  ghcr.io/kloudkit/ansible-controller \
  -e FOO=bar \
  /workspace/play.yaml

License

This project is licensed under the MIT License