Changes

Jump to navigation Jump to search
no edit summary
==Ansible on Fedora==
The [https://fedoraproject.org/wiki/Fedora_Project_Wiki Fedora Project] uses Ansible in it's Infrastructure team, and they publish their whole setup https://infrastructure.fedoraproject.org/cgit/ansible.git/tree/README
 
== Ansible on Rocky Linux ==
If you're working on [https://www.mediawiki.org/wiki/Meza Meza], you're going to want to test things on '''Rocky Linux 8''' - because that is the reference OS for the "[https://www.mediawiki.org/wiki/Meza/Common_Meza_Test_Environment_(CMTE) Common Meza Test Environment]". Jeff Geerling has a [https://github.com/geerlingguy/docker-rockylinux8-ansible Rocky Linux 8 Docker setup for testing Ansbile]. Similar to [https://www.mediawiki.org/wiki/Meza/Install_on_existing_server installing Meza on an existing server] it should be relatively quick to spin up Meza on Docker.
 
<syntaxhighlight lang="bash">
# from your host
docker pull geerlingguy/docker-rockylinux8-ansible:latest
cd ~/src/meza/
docker run --detach --privileged --volume=/sys/fs/cgroup:/sys/fs/cgroup:rw --cgroupns=host --volume=`pwd`:/etc/ansible/roles/role_under_test:ro geerlingguy/docker-rockylinux8-ansible:latest
 
# then inside the container
cd /etc/ansible/roles/role_under_test/config
ansible-playbook ../src/playbooks/site.yml --syntax-check
</syntaxhighlight>
 
==Ansible Docs==

Navigation menu