jjb: Gently stop instances before publication
[lttng-ci.git] / automation / ansible / playbooks / post-imagebuild-clean.yml
index d4eb23ddfb4457c8fdb9db6378d7278946b24288..d26490a3392ec6d92fef11892d06f4953732773f 100644 (file)
     - ansible.builtin.command:
         argv: ['cloud-init', 'clean']
       ignore_errors: true
+    - ansible.built.command:
+        argv: ['sync']
     - ansible.builtin.shell:
         cmd: 'history -cw'
+      # Some default shells don't have the `history` built-in,
+      # and it's not blocking that this works or not.
+      ignore_errors: true
     - ansible.builtin.file:
         path: /root/.ssh/authorized_keys2
         state: absent
This page took 0.022144 seconds and 4 git commands to generate.