Hi,
I want to add tasks after importing a playbook inside another playbook.’
-
name: Create Azure VM
hosts: localhost -
name: Creating a targetIPAddress.txt
copy:
dest: “/home/azureuser/dmptargetIPAddress.txt”
content: |
“{{ipaddressToSend}}” -
name: Include install_dmp_latest.yml
import_playbook: install_dmp_latest.yml -
name: Include Delete IP address
import_playbook: deleteIPaddress.yml -
name another task
Why I can not add it and what are other options?
Regards
Rajaniesh