summaryrefslogtreecommitdiffstats
path: root/ansible/deployment_poc/playbooks
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/deployment_poc/playbooks')
-rw-r--r--ansible/deployment_poc/playbooks/deploy.yml14
1 files changed, 10 insertions, 4 deletions
diff --git a/ansible/deployment_poc/playbooks/deploy.yml b/ansible/deployment_poc/playbooks/deploy.yml
index e8b43b0..4009b26 100644
--- a/ansible/deployment_poc/playbooks/deploy.yml
+++ b/ansible/deployment_poc/playbooks/deploy.yml
@@ -74,7 +74,7 @@
block:
- import_tasks: "../tasks/netbox_query_ip.yml"
- import_tasks: "../tasks/netbox_evaluate_ip.yml"
- #no_log: true
+ no_log: true
- name: Provision virtual machine
import_tasks: "../tasks/configure_libvirt.yml"
@@ -93,7 +93,7 @@
- import_tasks: "../tasks/netbox_init_interface.yml"
- import_tasks: "../tasks/netbox_query_interface.yml"
- import_tasks: "../tasks/netbox_evaluate_interface.yml"
- #no_log: true
+ no_log: true
- name: Define IP address object in NetBox
block:
@@ -103,8 +103,14 @@
- name: Start VM and attach console
import_tasks: "../tasks/init_vm_console.yml"
-# - name: Wait for guest OS installation
-# import_tasks: "../tasks/wait.yml"
+ - name: Initialize SSH CA
+ import_tasks: "../tasks/init_ssh.yml"
+
+ - name: Wait for guest OS installation
+ import_tasks: "../tasks/wait.yml"
+
+ - name: Configure SSH
+ import_tasks: "../tasks/configure_ssh.yml"
always: