1920428599
Ansible is scheduled to remove the 'sudo' module and replace it with 'become'. Switch to using this now since it is already supported in 1.9. Closes-Bug: #1504535 Change-Id: Ie63816e36a95c86d54fea5f50325522b41597047
11 lines
345 B
YAML
11 lines
345 B
YAML
---
|
|
- hosts: localhost
|
|
connection: local
|
|
name: "Remove the master_images folder and deployment kernel/ramdisk for clean redeployments when testing."
|
|
become: yes
|
|
gather_facts: yes
|
|
tasks:
|
|
- file: path=/tftpboot/master_images state=absent
|
|
- file: path="{{ipa_kernel}}" state=absent
|
|
- file: path="{{ipa_ramdisk}}" state=absent
|