Skip to content

Commit

Permalink
remove manageBecome
Browse files Browse the repository at this point in the history
  • Loading branch information
Benoit Moussaud committed Feb 8, 2021
1 parent b2924f1 commit c05eec5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
3 changes: 1 addition & 2 deletions src/main/resources/synthetic.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@
<property name="devopsAsCodeUsername" required="false" default="admin" category="devops-as-code"/>
<property name="devopsAsCodePassword" required="false" default="admin" category="devops-as-code" password="false"/>
<property name="xlPath" required="false" default="/usr/local/bin/xl" category="devops-as-code" description="C:\xl-deploy-9.6.0-server\xl-cli\xl.exe or /usr/local/bin/xl"/>
<property name="debug" category="Advanced" kind="boolean" default="false"/>
<property name="defaultBecome" required="false" default="false" kind="boolean" category="Advanced"/>
<property name="debug" category="Advanced" kind="boolean" default="false"/>
</type>

<type type="ansible.Roles" extends="udm.BaseDeployedArtifact"
Expand Down
3 changes: 1 addition & 2 deletions src/main/resources/xl-rules.xml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,7 @@
<target expression="true">deployed.container</target>
<host expression="true">deployed.container.host</host>
<ansibleController expression="true">deployed.container.ansibleController</ansibleController>
<deployedApplication expression="true">deployedApplication</deployedApplication>
<become expression="true">deployed.container.defaultBecome</become>
<deployedApplication expression="true">deployedApplication</deployedApplication>
<devopsAsCodeTemplate expression="true">deployed.computedDevopsAsCodeTemplate</devopsAsCodeTemplate>
</freemarker-context>
<classpath-resources>
Expand Down
3 changes: 0 additions & 3 deletions src/main/resources/xldeploy_playbook.yml.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@
-->
---
- hosts: all
<#if become>
become: true
</#if>
<#if variableFile?has_content>
vars_files:
- ${deployed.file.path}/${variableFile}
Expand Down

0 comments on commit c05eec5

Please sign in to comment.