We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3af3a5 commit 3c5013bCopy full SHA for 3c5013b
src/base-cmd-ansible-abstract.ts
@@ -68,7 +68,7 @@ export default abstract class AnsibleCmd extends BaseCmd {
68
const src = fspath.dirname(ansiblePath)
69
const dest = this.ansibleProjectPlaybooksPath + fspath.dirname(src)
70
this.log('Copy Ansible configuration')
71
- execSync(this.dockerBin + ' exec -t --user ce-dev ce_dev_controller mkdir -p ' + dest)
+ execSync(this.dockerBin + ' exec -t --user ce-dev ce_dev_controller mkdir -p ' + dest + ' && rm -rf ' + dest + '/*')
72
execSync(this.dockerBin + ' cp ' + src + ' ce_dev_controller:' + dest)
73
const script = fspath.join(this.ansibleScriptsPath, this.ansibleScript)
74
const cmd = script + ' ' + this.getCommandParameters(ansiblePath)
0 commit comments