Merge "Remove unuseful become: true from deploy-steps"

This commit is contained in:
Zuul
2018-07-11 00:03:10 +00:00
committed by Gerrit Code Review
2 changed files with 0 additions and 9 deletions

View File

@@ -6,7 +6,6 @@
- name: Write config data at the start of step 1
when: step == "1"
become: true
block:
- name: Create /var/lib/tripleo-config directory
file:
@@ -151,7 +150,6 @@
dest: /etc/puppet/hieradata/config_step.json
force: true
mode: '0600'
become: true
- name: Run puppet host configuration for step {{ step }}
when: enable_puppet|default(true)|bool
@@ -167,7 +165,6 @@
register: outputs
failed_when: false
no_log: true
become: true
- name: "Debug output for task which failed: Run puppet host configuration for step {{ step }}"
debug:
@@ -193,7 +190,6 @@
register: outputs
failed_when: false
no_log: true
become: true
- name: "Debug output for task which failed: Run docker-puppet tasks (generate config) during step {{ step }}"
debug:
@@ -218,7 +214,6 @@
register: outputs
failed_when: false
no_log: true
become: true
- name: "Debug output for task which failed: Start containers for step {{ step }}"
debug:
@@ -234,7 +229,6 @@
stat:
path: /var/lib/docker-puppet/docker-puppet-tasks{{ step }}.json
register: docker_puppet_tasks_json
become: true
- name: Run docker-puppet tasks (bootstrap tasks) for step {{ step }}
shell: python /var/lib/docker-puppet/docker-puppet.py
@@ -251,7 +245,6 @@
register: outputs
failed_when: false
no_log: true
become: true
- name: "Debug output for task which failed: Run docker-puppet tasks (bootstrap tasks) for step {{ step }}"
debug:

View File

@@ -463,7 +463,6 @@ outputs:
any_errors_fatal: yes
vars:
bootstrap_server_id: BOOTSTRAP_SERVER_ID
become: true
tasks:
{%- for role in roles %}
- import_tasks: {{role.name}}/host_prep_tasks.yaml
@@ -667,7 +666,6 @@ outputs:
DEPLOY_TARGET_HOST: {get_param: deployment_target_hosts}
template: |
- hosts: DEPLOY_TARGET_HOST
become: true
tasks:
- set_fact:
releases: {get_param: [FastForwardUpgradeReleases]}