summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-01-29 13:36:36 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-02-04 09:16:46 +0000
commitabf6525a18dae0e5297d6e373f0b6d37b0b4c422 (patch)
tree5843143c1705cda10fbf4f2f9bca0a58ec50535c
parent98cf2ab9c80c8efd0df9086353972e7dc73f40b8 (diff)
downloadtrove-setup-baserock/pedroalvarez/systemd-v217.tar.gz
Changes needed to work with versions of systemd >= v215baserock/pedroalvarez/systemd-v217
The stderr string of the `systemctl enable` command has changed in the commit 749ebb2da4933de68bfaa4d6f6ffd9e4692ee547 of systemd. We use this string to trigger another Ansible task.
-rw-r--r--ansible/roles/trove-setup/tasks/minions.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible/roles/trove-setup/tasks/minions.yml b/ansible/roles/trove-setup/tasks/minions.yml
index a5b3d8d..8c5ec59 100644
--- a/ansible/roles/trove-setup/tasks/minions.yml
+++ b/ansible/roles/trove-setup/tasks/minions.yml
@@ -11,7 +11,7 @@
- name: Enable as many MINIONS as specified in LORRY_CONTROLLER_MINIONS
shell: systemctl enable lorry-controller-minion@{{ item }}.service
with_sequence: count={{ LORRY_CONTROLLER_MINIONS }}
- changed_when: "'ln -s' in minions_creation.stderr"
+ changed_when: "'Created symlink' in minions_creation.stderr"
register: minions_creation
- name: Start the all the MINIONS created (if any)