create bootstrap_vms role to run vagrant file on host, creating managed vms (dkhost03 and dkhost04)
This commit is contained in:
@@ -43,6 +43,11 @@
|
||||
- name: Creates .ssh directory
|
||||
file: path=~/.ssh state=directory mode=600
|
||||
|
||||
- name: remove ubuntu user if it exists
|
||||
command: userdel -rf ubuntu
|
||||
args:
|
||||
removes: /home/ubuntu/.bashrc
|
||||
|
||||
- debug: var=ansible_os_family
|
||||
|
||||
roles:
|
||||
|
||||
Reference in New Issue
Block a user