Skip to content

Commit

Permalink
ansible: Change default number of instances to 1
Browse files Browse the repository at this point in the history
4 was tailored to our e2e machines. Change it to 1, which is also less
suprising when trying this on new infrastructure or a local VM.
  • Loading branch information
martinpitt committed Apr 5, 2024
1 parent e23ad0d commit 5c70fe4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ansible/roles/tasks-systemd/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
- name: Set up systemd service for cockpit/tasks
shell: |
export INSTANCES={{ instances | default(4) }}
export INSTANCES={{ instances | default(1) }}
export TEST_NOTIFICATION_MX={{ notification_mx | default('') }}
export TEST_NOTIFICATION_TO={{ notification_to | default('') }}
/run/install-service
2 changes: 1 addition & 1 deletion tasks/install-service
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# deploy changes to this script with:
# ansible -i inventory -m include_role -a name=tasks-systemd -e instances=12 tag_ServiceComponent_Tasks
# ansible -i inventory -m include_role -a name=tasks-systemd -e instances=1 openstack_tasks
# ansible -i inventory -m include_role -a name=tasks-systemd openstack_tasks
#
# See ansible/{aws,psi}/launch-tasks.yml for the parameters.

Expand Down

0 comments on commit 5c70fe4

Please sign in to comment.