Skip to content
Snippets Groups Projects
Select Git revision
  • renovate/ruby
  • renovate/bootsnap-1.x-lockfile
  • renovate/selenium-webdriver-4.x-lockfile
  • main default protected
  • eh22 protected
  • update-readme
  • update-rubocop
7 results

rescheduled

  • Clone with SSH
  • Clone with HTTPS
  • C3InfoDesk Deployment

    WIP

    • Finish the roles for deploying the c3InfoDesk Printer.
      • dependencies
      • clone_repositories
      • docker_images
      • docker_containers
    • Set ansible-lint for the roles.
    • Add molecule tests.

    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