ansible: Add missing default variables for common-node
[lttng-ci.git] / automation / ansible / README.md
index e75e72b04013aeae8b21323a0a5d33af2c317d4c..be764c4643a61258d7893e5e51685b3f4faca9b3 100644 (file)
@@ -41,12 +41,14 @@ ansible-playbook -i hosts [-l SUBSET] site.yaml
 
 ## CI 'rootnode'
 
-1. Add an entry to the `vms` variable in the host vars for a libvirt host
+1. Add the new ansible node to the `node_standalone` group in the inventory
+2. Add an entry to the `vms` variable in the host vars for the libvirt host
   * See the defaults and details in `roles/libvirt/vars/main.yml` and `roles/libvirt/tasks/main.yml`
   * Make sure to set the `cdrom` key to the path of ISO for the installer
-2. Run the playbook, eg. `ansible-playbook -i hosts -l cloud07.internal.efficios.com site.yml`
+3. Run the playbook, eg. `ansible-playbook -i hosts -l cloud07.internal.efficios.com site.yml`
   * The VM should be created and started
-3. Once the VM is installed take a snapshot so that Jenkins may revert to the original state
+4. Once the VM is installed take a snapshot so that Jenkins may revert to the original state
+  * `ansible-playbook playbooks/snapshot-rootnode.yml -e '{"revert_before": false}' -l new-rootnode`
 
 ### Ubuntu auto-installer
 
@@ -141,4 +143,4 @@ To automatically provision instances, perform certain operations, and update DNS
 
 1. Update `vars/ci-instances.yml`
 2. Open a kerberos ticket with `kinit`
-3. Run the playbook, eg. `ansible-playbook -l ci-host-XX.internal.efficios.com playbooks/ci-instances.yml`
+3. Run the playbook, eg. `ansible-playbook playbooks/ci-instances.yml`
This page took 0.023217 seconds and 4 git commands to generate.