diff --git a/playbooks/publish.yaml b/playbooks/publish.yaml index 8d0f751..4a2505a 100644 --- a/playbooks/publish.yaml +++ b/playbooks/publish.yaml @@ -1,3 +1,12 @@ +- hosts: all + tasks: + + - name: Pull contents back + synchronize: + mode: pull + src: "/home/zuul/src/opendev.org/inaugust/inaugust.com/dist/" + dest: "{{ zuul.executor.work_root }}/dist/" + - hosts: localhost tasks: - name: Add ns1.inaugust.com to inventory @@ -11,15 +20,6 @@ name: ns1.inaugust.com key: "ns1.inaugust.com ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDvCg98cFYN7zqdF7742dlnme9lp7QGCemMlF68NLVpuDt7FxqH7blel2ju3upnz1LZHPU9nPuI/+ByYQ+7/1ezGS+N5CQIfWkvhFnBRlwNqIEP/Lfyw3LhFm72QRwDuKxkV5kKzZHXhNlg0I2PgLwDliijSX/0WW9Vgkb2zv/tLXbEM6LBSCXwAPjlfc6LVwmkY3vSxulU6kyL7Izyi83lD533g7jKP8KkOjuFEled8biKV2sP1hIc0tWWlL47G0jRdyB6LVmxOlb0arULfhqEWdW7qldIj2bPmUd2cAG522OoPYZQdDgGYPQlyS0ZJgWvjYoatUAyq8B7ELeJwqN62rcwn8yX3o+bykDX50HCKlrfHHsisST+YcOTtDG8X4H5UlGtMUygmpFEJjUOOoHD6dwmT1R92V5a3Sov1W2Fc7TcfmFoXo1G3N0/wsruVfmzJ7Q/WNtBf4p+c9DXTfJcNKfOIs6o/7ZrzexctEZQRFa7cxBEv2n+fVDN3DcQ12k=" -- hosts: all - tasks: - - - name: Pull contents back - synchronize: - mode: pull - src: "/home/zuul/src/opendev.org/inaugust/inaugust.com/dist/" - dest: "{{ zuul.executor.work_root }}/dist/" - - hosts: ns1.inaugust.com tasks: