Skip to content
Snippets Groups Projects
fejao's avatar
fejao authored
7d0a5bf0
History

C3InfoDesk Deployment

WIP

What is this?

This is a repo for deploying the the printer system used at the c3infodesk for printing EXTREMILY NECESSARY documents.

Dependencies

To have ansible installed at your system.

Roles

Here are the used roles:

How to use this

    1. Clone this repo.
    1. Edit the files.
    • Set your remote_user configuration at the ansible.cfg file.
    • Set your inventories/host_vars/<TARGET_NAME> file.
    1. Run the playbooks
    • Example for deploying the containers at the target:
    ansible-playbook -i inventories/hosts playbooks/examples/example_05_docker_containers.yml
    1. Change the default environment variables setted from the docker-compose.yml file to your needs and recreate the containers. You might need to login at the target for doing it so.

Local testing

At the moment, the only tests setted CI-CD are.

  • ansible-playbook syntax-check

    ansible-playbook --syntax-check -i <YOUR_INVENTORY> <YOUR_PLAYBOOK_NAME>
  • ansible-lint

    ansible-lint <YOUR_PLAYBOOK_NAME>

License

MIT / BSD

Author Information

fejao logo https://chaos.social/@fejao