Debian 10 1 Debian 11 1 Debian 12 1 Ubuntu 20.04 2 Ubuntu 22.04 2 Ubuntu 24.04 2 Staging 1 Production 2 Custom 3 Demo Key 1 SSH k Such Much SSH Demo Key 2 Secret s Wow! Such much secret! Demo Server #1 1 stopped localhost admin password p demohostkey demo1.example.com This server is used in unit tests. No variables are defined. 2 Demo Server #2 running localhost admin password k p True https://dogememe.example.com This server has variables configured cx.tower.server Demo File Template 1 tower_demo_1.txt {{ demo_path }} Hello, world! Demo File Template 2 {{ demo_branch }}_tower_demo_2.txt /tmp Hello, world! Demo File Template 3 tower_demo_3.txt /tmp How to create a directory: cd {{ demo_path }} && mkdir {{ demo_dir }} Demo File Template 4 server server_demo_logs.txt /var/log tower_demo_1.txt tower tower_demo_2.txt tower tower_demo_3.txt tower server_demo_logs.txt server tower_demo_without_template_{{ demo_branch }}.txt tower {{ demo_path }} Please, check url: {{ demo_url }} server_demo.txt server {{ demo_path }} Demo Path demo_path Demo Directory demo_dir Demo Operating System demo_os Demo URL demo_url Demo Odoo Version demo_odoo_version o Demo Language demo_language o Demo Version demo_version Demo Organisation demo_org Demo Branch demo_branch ^[a-z0-9]+$ Must be lowercase and contain only letters and numbers! 14.0 14.0 10 15.0 15.0 20 16.0 16.0 30 17.0 17.0 40 18.0 18.0 50 English (US) en_us 10 Italian it 20 Spanish (Mexican) es_mx 30 German de 40 German (Switzerland) de_ch 50 /home/{{ tower.server.username }}/tower/{{ demo_branch }} /tmp/repo/{{ demo_branch }} /opt/{{ tower.server.reference }}/cetmix-tower /opt/{{ tower.server.reference }}/cetmix-tower https://cetmix.com staging prod Cetmix Demo Flight Plan #1 Create directory and list its content 1 Demo Flight Plan #2 Run another flight plan Demo Flight Plan for User Demo of a user-accessible flight plan 1 Demo Flight Plan #4 Update and upgrade packages Demo Flight Plan #5 Check branch and download log file Update packages ssh_command apt-get update && apt-get upgrade -y Update and upgrade packages on the host system 1 Create directory ssh_command /home/{{ tower.server.username }} mkdir -p {{ demo_dir }} Create a directory on the host system 1 List files in directory ssh_command /home/{{ tower.server.username }} ls -l 1 List files in the directory Upload file by template file_using_template /home/{{ tower.server.username }} Upload a file to the host system Run Python Code: Check Branch python_code if {{ demo_branch }}: result={"exit_code": 0, "message": "Branch is defined!"} else: result={"exit_code": -100, "message": "Branch is not defined!"} 1 Run Python Code: Check Branch Download log file by template file_using_template /home/{{ tower.server.username }} Download log file by template Run Demo #1 Flight Plan plan 5 {{ demo_path }} 1 == 0 2 > 0 ec 255 production 20 {{ tower.server.status }} == 'running' and {{ demo_demo_odoo_version }} == "17.0" 1 == -1 ec 100 2 >= 3 n 30 5 1 {{ demo_path }} 2 {{ demo_path }} 10 10 20 tower_demo_1.txt server tower_demo_2.txt server Log from file file Log from file file Demo Server Template #1 1 admin password p Log from file file /opt/{{ tower.server.reference }}/cetmix-tower/{{ demo_branch }} https://cetmix.com 1 1 Command Log for Server #1 command Command Log for Server #2 command Command Log for Server Template #1 command Demo Flight Plan Execution Status demo_flight_plan_status_unique Demo Flight Plan Start Time Unique demo_flight_plan_start_time_unique Demo Flight Plan End Time Unique demo_flight_plan_end_time_unique completed initial_value final_value completed initial_value final_value completed initial_value final_value Command Shortcut command 1 Runs a command. Use as an example to create your own shortcuts. Flight Plan Shortcut plan 2 Runs a flight plan. Use as an example to create your own shortcuts. Flight Plan Shortcut for Server Template plan 2 Runs a flight plan for a server template. Use as an example to create your own shortcuts. Scheduled Task Demo #1 scheduled_task_demo_1 True 1 command 1 hours Scheduled Task Demo #2 scheduled_task_demo_2 True 2 plan 2 days