geosolutions-it / C106-2017

Ansible Automation
1 stars 1 forks source link

Push geoserver/data to a gitlab repository #13

Closed conjame closed 4 years ago

conjame commented 4 years ago

Fixes #9

The ansible_machine.yml file is included inside main. Its purpose is to deploy geoserver on the ansible manager machine, extract the content of the geoserver/data directory and push it to a gitlab repository.

As it is not required to execute these tasks every time the role runs, a conditional check is added, which keeps the tasks from being included unless the playbook is launched with --extra-vars "extract_data=0"