Fix sudo/become deprecation warnings

become is the keyword to use forward instead of sudo.

Change-Id: I1e29e3c37337ba999b2e8a970b688e4ec11ea579
This commit is contained in:
Ricardo Carrillo Cruz 2016-06-06 14:28:58 +00:00
parent b022c4d1e4
commit 78d572d99e
9 changed files with 9 additions and 9 deletions

View File

@ -3,6 +3,6 @@
- hosts: meta-infra_type_gerrit
gather_facts: no
user: ubuntu
sudo: true
become: true
roles:
- { role: bootstrap_gerrit }

View File

@ -2,6 +2,6 @@
- hosts: meta-infra_type_jenkins
gather_facts: no
user: ubuntu
sudo: true
become: true
roles:
- { role: bootstrap_jjb }

View File

@ -2,6 +2,6 @@
# file: bootstrap_puppet_infra_nodes.yml
- hosts: infra:!meta-infra_type_puppetmaster
user: ubuntu
sudo: true
become: true
roles:
- { role: bootstrap_puppet_infra_node }

View File

@ -3,6 +3,6 @@
- hosts: meta-infra_type_puppetmaster
gather_facts: no
user: ubuntu
sudo: true
become: true
roles:
- { role: bootstrap_puppetmaster }

View File

@ -3,6 +3,6 @@
- hosts: infra
gather_facts: yes
user: ubuntu
sudo: true
become: true
roles:
- { role: common }

View File

@ -2,7 +2,7 @@
- hosts: meta-infra_type_gerrit
user: ubuntu
gather_facts: no
sudo: true
become: true
name: Run Puppet to install Gerrit
tasks:
- puppet:

View File

@ -1,7 +1,7 @@
---
- hosts: meta-infra_type_jenkins
user: ubuntu
sudo: true
become: true
name: Run Puppet to install Jenkins
tasks:
- puppet:

View File

@ -2,7 +2,7 @@
- hosts: meta-infra_type_zuul
user: ubuntu
gather_facts: no
sudo: true
become: true
name: Run Puppet to install Zuul
tasks:
- puppet:

View File

@ -3,6 +3,6 @@
- hosts: infra
gather_facts: no
user: ubuntu
sudo: true
become: true
roles:
- { role: set_hostnames }